Example #1
0
int handleDeffunctiongroup( void* firsthandlerarg, uint32_t streamid,
		uint32_t deftoken, const char* name ) {


	return ( 0 == VTF3_WriteDefact( ((fcbT*) firsthandlerarg)->fcb, deftoken, name ) )
		? OTF_RETURN_ABORT : OTF_RETURN_OK;
}
Example #2
0
static void conv_write_activities() {
  int i;

  for (i=0; i<numact; i++) {
    if ( acttab[i].id == ELG_NO_ID ) break;
    wbytes += VTF3_WriteDefact(fcb, (int) acttab[i].id, acttab[i].name);
  }

  if ( writeOMP ) {
    for (i=ELG_OMP_PARALLEL; i<=ELG_OMP_SINGLE_SBLOCK; i++) {
      wbytes += VTF3_WriteDefopenmptype(fcb, i, rtypenames[i]);
    }
  }
}