Query: tau_get_event_vals
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TAU_GET_EVENT_VALS(3) TAU Instrumentation API TAU_GET_EVENT_VALS(3)NAMETAU_GET_EVENT_VALS - Gets user event data for given user events.SYNOPSISC/C++: TAU_GET_EVENT_VALS(const char **inUserEvents, int numUserEvents, int **numEvents, double **max, double **min, double **mean, double **sumSqe);DESCRIPTIONRetrieves user defined event data for the specified user defined events. The list of events are specified by the first parameter (eventList) and the user specifies the number of events in the second parameter (numUserEvents). TAU returns the number of times the event was invoked in the numUserEvents. The max, min, mean values are returned in the following parameters. TAU computes the sum of squares of the given event and returns this value in the next argument (sumSqe).EXAMPLEC/C++ : const char **eventList; int numEvents; TAU_GET_EVENT_NAMES(eventList, numEvents); cout << "numEvents: " << numEvents << endl; if (numEvents > 0) { int *numSamples; double *max; double *min; double *mean; double *sumSqr; TAU_GET_EVENT_VALS(eventList, numEvents, numSamples, max, min, mean, sumSqr); for (int i=0; i<numEvents; i++) { cout << "------------------- "; cout << "User Event: " << eventList[i] << endl; cout << "Number of Samples: " << numSamples[i] << endl; cout << "Maximum Value: " << max[i] << endl; cout << "Minimum Value: " << min[i] << endl; cout << "Mean Value: " << mean[i] << endl; cout << "Sum Squared: " << sumSqr[i] << endl; } } }SEE ALSOTAU_REGISTER_EVENT(3), TAU_REGISTER_CONTEXT_EVENT(3), TAU_GET_EVENT_NAMES(3) 08/31/2005 TAU_GET_EVENT_VALS(3)
Related Man Pages |
---|
tau_get_event_vals(3) - debian |
tau_get_func_vals(3) - debian |
tau_mapping_create(3) - debian |
clientsocket(3bobcat) - opendarwin |
clientsocket(3bobcat) - mojave |
Similar Topics in the Unix Linux Community |
---|
pointer |
Regarding char Pointer |
C++ cin problem |
find frequency |
Missing cout |