/* Does the counter have nsecs as a unit?  */
static int nsec_counter(int counter)
/* Does the counter have nsecs as a unit?  */
static int nsec_counter(int counter)
{
	if (MATCH_EVENT(SOFTWARE, SW_CPU_CLOCK, counter) ||
	    MATCH_EVENT(SOFTWARE, SW_TASK_CLOCK, counter))
		return 1;
	return 0;
}