Hi Ki-Soo Lee,
thanks for your suggestion!
when i remove the calling for "profileAnalysisSession.waitUntilProfilingComplete();",the script also ran fine,but I got nothing in the myProfilingData.csv
In my application,I want to get the Code Coverage Result,so i rewrote the Ti's profiling examples to test if i could encounter the same issue.and i got it:
FunctionProfileScript.js In <CCS INSTALL DIR>\ccsv5\ccs_base\scripting\examples\DVTExamples\javascript_examples is the original script and run OK,the result is in <CCS INSTALL DIR>\ccsv5\ccs_base\dvt_3.2.0.201205011655\FunctionProfile\solutions\FunctionProfile_cycle.CPU.CSV
FunctionProfileScript-TEST.js is the other version of FunctionProfileScript.js,I wrote it to get the "Coverage Porfile",after running it I get the result in <CCS INSTALL DIR>\ccsv5\ccs_base\dvt_3.2.0.201205011655\FunctionProfile\solutions\CoverageProfile_FunctionCountAnalyser.CSV and CoverageProfile_LineCountAnalyser.CSV,
But these two files are both empty!!why?