| |
| Interface Libraries | libcpc(3LIB) |
| | libcpc - CPU performance counter library |
SYNOPSIS
| |
cc [ flag ... ] file ... -lcpc [ library ... ]
|
| |
Functions in this library provide access to CPU performance counters on platforms that contain the appropriate hardware.
|
| |
The shared object libcpc.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object interfaces.
| cpc_access | cpc_bind_event |
| cpc_count_sys_events | cpc_count_usr_events |
| cpc_event_accum | cpc_event_diff |
| cpc_eventtostr | cpc_getcciname |
| cpc_getcpuref | cpc_getcpuver |
| cpc_getnpic | cpc_getusage |
| cpc_pctx_bind_event | cpc_pctx_invalidate |
| cpc_pctx_rele | cpc_pctx_take_sample |
| cpc_rele | cpc_seterrfn |
| cpc_shared_bind_event | cpc_shared_close |
| cpc_shared_open | cpc_shared_rele |
| cpc_shared_take_sample | cpc_strtoevent |
| cpc_take_sample | cpc_version |
| cpc_walk_names | |
|
| |
-
/usr/lib/libcpc.so.1
- shared object
-
/usr/lib/64/libcpc.so.1
- 64-bit shared object
|
| |
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWcpcu (32-bit) |
| | SUNWcpcux (64-bit) |
| MT-Level | Safe |
|
| |