GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PMC_SET (3)

NAME

pmc_set - set the reload count of a sampling PMC

CONTENTS

Library
Synopsis
Description
Return Values
Errors
See Also

LIBRARY


.Lb libpmc

SYNOPSIS


.In pmc.h int pmc_set pmc_id_t pmc pmc_value_t value

DESCRIPTION

Function pmc_set is used to set the reload value of sampling PMCs. Argument pmc specified the handle a previously allocate sampling mode PMC. Argument value specifies the reload count.

Sampling PMCs will interrupt the CPU after the number of hardware events specified by the reload count are seen. After the sampling interrupt is processed the underlying hardware will be reloaded with the specified count and the hardware automatically restarted by hwpmc(4).

Function pmc_set should be called on PMC in a quiescent state.

RETURN VALUES


.Rv -std pmc_set

ERRORS

A call to pmc_set may fail with the following errors:
[EINVAL]
  The current process did not own a PMC with the specified handle.
[EBUSY]
  The specified PMC was already running.

SEE ALSO

pmc(3), hwpmc(4)
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.