Hello,
The libcpc provides one functions set to gather performance counter from
cpu performance registers. eg: cpc_bind_cpu, cpc_bind_curlwp, cpc_bind_pctx.
But it seems I can't use above functions to gather counter value for one
thread on one cpu.
cpc_bind_cpu provides the result of total threads on one specified cpu.
cpc_bind_pctx provides the result of total cpus where the specified thread
runs on.
Who can give me some ideas about how to get performance value for one
thread on one cpu?
Thanks
Jin Yao
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code