Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Interface Librarieslibcpc(3LIB)


NAME

 libcpc - CPU performance counter library

SYNOPSIS

 
cc [ flag ... ] file ... -lcpc [ library ... ] 

DESCRIPTION

 

Functions in this library provide access to CPU performance counters on platforms that contain the appropriate hardware.

INTERFACES

 

The shared object libcpc.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object interfaces.

cpc_accesscpc_bind_event
cpc_count_sys_eventscpc_count_usr_events
cpc_event_accumcpc_event_diff
cpc_eventtostrcpc_getcciname
cpc_getcpurefcpc_getcpuver
cpc_getnpiccpc_getusage
cpc_pctx_bind_eventcpc_pctx_invalidate
cpc_pctx_relecpc_pctx_take_sample
cpc_relecpc_seterrfn
cpc_shared_bind_eventcpc_shared_close
cpc_shared_opencpc_shared_rele
cpc_shared_take_samplecpc_strtoevent
cpc_take_samplecpc_version
cpc_walk_names 

FILES

 
/usr/lib/libcpc.so.1
shared object
/usr/lib/64/libcpc.so.1
64-bit shared object

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcpcu (32-bit)
 SUNWcpcux (64-bit)
MT-LevelSafe

SEE ALSO

 

cputrack(1), cpustat(1M), intro(3), cpc(3CPC), attributes(5)


SunOS 5.9Go To TopLast Changed 27 Feb 2001

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.