*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: pmc_start | Section: 3 | Source: FreeBSD | File: pmc_start.3.gz
PMC_START(3) FreeBSD Library Functions Manual PMC_START(3) NAME pmc_start, pmc_stop - start and stop a PMC LIBRARY Performance Counters Library (libpmc, -lpmc) SYNOPSIS #include <pmc.h> int pmc_start(pmc_id_t pmc); int pmc_stop(pmc_id_t pmc); DESCRIPTION These functions are used to start and stop a PMC. Function pmc_start() starts the PMC specified by argument pmc. If the specified PMC has process scope and has not been attached to any targets, it will be attached to the current process. Function pmc_stop() stops the PMC specified by argument pmc. RETURN VALUES Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the error. ERRORS A call to these functions may fail with the following errors: [EDOOFUS] Function pmc_start() specified a PMC that requires a log file and no log file was configured. [EINVAL] The specified PMC is in the process of being deleted. [EINVAL] Function pmc_stop() specified a PMC that was never started. [ENXIO] The specified PMC had system scope and its associated CPU was disabled or absent. SEE ALSO pmc(3), hwpmc(4) FreeBSD 14.1-RELEASE-p8 September 22, 2008 FreeBSD 14.1-RELEASE-p8

Navigation Options