Hi, On 04/10/2014 01:04 AM, [email protected] wrote: > >> I tried to figure out how papi_avail gets the number of hardware counters, >> It seems that it just predefines some const values for >> specific cpus, but I am not very sure, I do not have much time to read the >> papi_library source code. >> >> And I afraid that this library does not support enough kinds of cpus. I also >> met some compilation errors in Fedora19 about this library. >> >> So whether we can use the first method I mentioned. I think it is more >> reasonable, at least according to perf_even_open()'s manpage >> and the intent of perf_event_open02 case. > Your method is better, because the testcase only cares if perf events > are multiplexed or not which is implied by different time_enabled and > time_running fields.
OK, I will send a v2 version today, thanks. Regards, Xiaoguang Wang > ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
