Read_Count(3)

Synopsis

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

#include "unify.h"

int Read_Count(int event_id);

Description

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

Return Values

Read_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 Read_Count(3) returns.


RCS status $Id: Read_Count.html,v 1.2 1998/02/09 17:33:38 rajitha Exp $