GetProfileData
Get internal profiling info
BOOL GetProfileData( vector<string> & vsFuncNames, vector<uint> & vnNumCalls, vector<double> & vdTimes )
FALSE if no profiling info available
EX1
#include <profiler.h> void Project_GetProfileData_ex1() { vector<string> vsFuncNames; vector<uint> vnNumCalls; vector<double> vdTimes ; Profiler tempObj; Worksheet wks = Project.ActiveLayer(); string strPage; if( wks.GetPage().GetName(strPage)) printf("Active Page is %s; Active Layer is %s\n",strPage ,wks.GetName()); else return; if(Project.GetProfileData(vsFuncNames,vnNumCalls,vdTimes)) printf("Failed to get Profile data!\n"); }
origin.h