Callisto function reference
5.2
|
Functions | |
int | CAL_GatherStatistics (int enable) |
int | CAL_ResetStatistics () |
int | CAL_SaveGroupStatistics (int groupID, char *fileName) |
int CAL_GatherStatistics | ( | int | enable | ) |
Enable statistics. Statistical information will be gathered for collision checks, closest pairs and penetration depth. Both the number of calls and the total time spent in these functions will be administered. Beware that to gather the statistics themselved a small amount of time is spent.
enable | This value has to be either equal to either CAL_ENABLESTATISTICS or CAL_DISABLESTATISTICS. |
int CAL_ResetStatistics | ( | ) |
Reset all statistics to 0.
int CAL_SaveGroupStatistics | ( | int | groupID, |
char * | fileName | ||
) |
Save the statistical information to a comma delimited file.
groupID | The ID of the group. |
fileName | The path and name of the file to write the information to. |