Event_Count(3)

Synopsis

cc [ flag ... ] file ... -lunify -levents -lpvm3 -lgpvm3 -lthread -ll -lsocket -lnsl -lw -lposix4 -lucb [ library ... ]

#include "unify.h"

int Event_Count(int event_id);

Description

Event_Count(3) returns the current value of the event counter referenced by event_id.

Return Values

Event_Count(3) returns the current value of the event counter referenced by event_id on successful completion. Otherwise, a value of -1 is returned.

Errors

An error may occur if event_id is not a valid event identifier.

See Also

Event Counters and Sequencers(3), unifyintro(3)

Notes

The value of the event counter may have changed by the time Event_Count(3) returns.


RCS status $Id: Event_Count.html,v 1.1 1998/01/15 16:26:06 dieter Exp $