
ic_stat_register_event(++Event, ++Description)

   Registers a new stats event to be collected

Arguments
   Event               The short name of the event
   Description         The long name of the event

Type
   library(ic_kernel)

Description

	When a program wishes to record events of interest throughout its runtime it can do so by first:

Registering the event type with stats logger at the beginning of the program eg.

ic_stat_register_event('myevent','My really important event').


	Then by placing calles to ic_event/1 throughout its code.

foo:-
	ic_event('myevent'),
	bar(X).	

	While stats gathering is not enabled (ie. without the program explicitly calling ic_stat(on) these events are processed very efficiently, and so can be left in code without incurring any significant overhead.


See Also
   ic_stat / 1, ic_stat_get / 1
