MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Interface Libraries                                  libcpc(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.



     cpcaccess                    cpcbindcpu
     cpcbindcurlwp               cpcbindevent
     cpcbindpctx                 cpcbufadd
     cpcbufcopy                  cpcbufcreate
     cpcbufdestroy               cpcbufget
     cpcbufhrtime                cpcbufset
     cpcbufsub                   cpcbuftick
     cpcbufzero                  cpccaps
     cpccciname                   cpcclose
     cpccpuref                    cpccountsysevents
     cpccountusrevents          cpcdisable
     cpcenable                    cpceventaccum
     cpceventdiff                cpceventtostr
     cpcgetcciname                cpcgetcpuref
     cpcgetcpuver                 cpcgetnpic
     cpcgetusage                  cpcnpic
     cpcopen                      cpcpctxbindevent
     cpcpctxinvalidate           cpcpctxrele
     cpcpctxtakesample          cpcrele
     cpcrequestpreset            cpcsetaddrequest
     cpcsetcreate                cpcsetdestroy
     cpcsetrestart               cpcsetsample
     cpcseterrfn                  cpcseterrhndlr
     cpcsharedbindevent         cpcsharedclose
     cpcsharedopen               cpcsharedrele
     cpcsharedtakesample        cpcstrtoevent
     cpctakesample               cpcunbind
     cpcversion                   cpcwalkattrs
     cpcwalkeventsall           cpcwalkeventspic
     cpcwalkgenericeventsall   cpcwalkgenericeventspic
     cpcwalknames                cpcwalkrequests






SunOS 5.11           Last change: 8 Oct 2008                    1






Interface Libraries                                  libcpc(3LIB)



FILES
     /usr/lib/libcpc.so.1       shared object


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


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWcpcu                    
     MT-Level                     Safe                        
    


SEE ALSO
     cputrack(1),  cpustat(1M),   Intro(3),   cpc(3CPC),   attri-
     butes(5), xVM(5)

NOTES
     There is no support for access to  performance  counters  in
     the  xVM(5)  environment.  The -h operations for cputrack(1)
     are not enabled.


























SunOS 5.11           Last change: 8 Oct 2008                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™