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_EVENT_NAMES_OF_CLASS (3)

NAME

pmc_event_names_of_class - return a list of event names supported by a PMC class.

CONTENTS

Library
Synopsis
Description
Return Values
Errors
See Also

LIBRARY


.Lb libpmc

SYNOPSIS


.In pmc.h int
.Fo pmc_event_names_of_class enum pmc_class cl const char ***eventnames int *nevents
.Fc

DESCRIPTION

Function pmc_event_names_of_class retrieves the hardware event names supported by the class of PMC hardware specified by argument cl.

It returns an array of
.Vt const char * pointers to names of events supported by the specified class of PMC hardware. The location pointed to by argument nevents is set to the number of event names returned.

The returned array is allocated using malloc(3).

RETURN VALUES


.Rv -std pmc_event_names_of_class

ERRORS

A call to pmc_event_names_of_class may fail with the following errors:
[EINVAL]
  Argument cl was invalid.
[ENOMEM]
  Allocation of a memory area to hold the result failed.

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.