FreeBSD/sys/net/altq/altq_subr.c
/* Update TSC freq with the value indicated by the caller. */
Update TSC freq with the value indicated by the caller.
Update TSC freq with the value indicated by the caller .
static void
tsc_freq_changed(void *arg, const struct cf_level *level, int status)
{
	if (status != 0)
		return;
#if (__FreeBSD_version >= 701102) && (defined(__amd64__) || defined(__i386__))
	if (tsc_is_invariant)
		return;
#endif
	init_machclk();
}
static void tsc_freq_changed ( void * arg , const struct cf_level * level , int status ) { if ( status != 0 ) return ; #if ( __FreeBSD_version >= 701102 ) && ( defined ( __amd64__ ) || defined ( __i386__ ) ) if ( tsc_is_invariant ) return ; #endif init_machclk ( ) ; }
Update TSC freq with the value indicated by the caller.
Update TSC freq with the value indicated by the caller .
/* If there was an error during the transition, don't do anything. */ /* If TSC is P-state invariant, don't do anything. */ /* Total setting for this level gives the new frequency in MHz. */