event_history

	event_count.l4.v = event_history(event.i4.v, cycle.i4.v, history.i4a.r,
					 max_hist.i4.v)

	This function will return the times since supercycle reset, in
	microseconds, of the occurance of the accelerator clock event 
	specified by "event" in the current or a past supercycle.  

	event		clock event number as follows:
			  0 -  255	event 0 - 255 of the clock specified
   	    	    	by Default Clock in the Utilities Window or the most
   	    	    	recent call to clock_set_multicast_type.
   	    	    	  0 - 255 + TCLK_BASE	    	TCLK event 0 - 255
   	    	    	  0 - 255 + MIBS_BASE	    	MIBS event 0 - 255
   	    	    	  0 - 255 + RRBS_BASE	    	RRBS event 0 - 255
   	    	    	  0 - 255 + TVBS_BASE	    	TVBS event 0 - 255
   	    	    	  0 - 255 + TESTCLK_BASE    	TEST clock event 0 - 255
   	    	    	  0 - 255 + PROJCLK_BASE    	PROJ clock event 0 - 255
   	    	    	  0 - 255 + NMLCLK_BASE     	NML clock event 0 - 255
			(constants are in 'tclk_events')
	cycle		supercycle of intrest:	 0 -> current supercycle
						-1 -> previous supercycle
						-2 -> 2 supercycles ago
	history		returned array of times since supercycle reset, in
			microseconds, of the occurrences of the event.
	max_hist	maximum number of times which will fit in the history
			array.

	This function returns status values as follows:

	event_count	number of times "event" has occurred in the specified
			supercycle

	This function requires the following include files:

	cnsparam_h, clib_h, tclk_events_h

	Related functions:

	acctim, ticks_since_event, lckclk_c, lckclk_api, lckclk_allocate,
	lckclk_free, evmon, evmon_usec_c, event_set_fake, reflected_events_c,
	clock_set_multicast_type, clock_get_default_multicast_type,
	event_translate_c, event_count_c, event_last_timestamp_c,
	clock_type_convert_c, is_beam_sync_clock_type_c

	C/C++ usage:

	int	event_count;
	int	event = EVENT_MI_RESET_FIXED_TARG;
	int	cycle_id = -1;
	int	history[NUM_HISTORY_ENTRIES];
	int	max_hist = NUM_HISTORY_ENTRIES;

	event_count = event_history(event,cycle,history,max_hist);