Lines Matching defs:msnsecs
3171 hrtime_t msnsecs[NCMSTATES];
3186 get_cpu_mstate(cp, msnsecs);
3187 if (csskd->cpu_nsec_idle.value.ui64 > msnsecs[CMS_IDLE])
3188 msnsecs[CMS_IDLE] = csskd->cpu_nsec_idle.value.ui64;
3189 if (csskd->cpu_nsec_user.value.ui64 > msnsecs[CMS_USER])
3190 msnsecs[CMS_USER] = csskd->cpu_nsec_user.value.ui64;
3191 if (csskd->cpu_nsec_kernel.value.ui64 > msnsecs[CMS_SYSTEM])
3192 msnsecs[CMS_SYSTEM] = csskd->cpu_nsec_kernel.value.ui64;
3200 csskd->cpu_nsec_idle.value.ui64 = msnsecs[CMS_IDLE];
3201 csskd->cpu_nsec_user.value.ui64 = msnsecs[CMS_USER];
3202 csskd->cpu_nsec_kernel.value.ui64 = msnsecs[CMS_SYSTEM];
3321 hrtime_t msnsecs[NCMSTATES];
3335 get_cpu_mstate(cp, msnsecs);
3336 msnsecs[CMS_IDLE] = NSEC_TO_TICK(msnsecs[CMS_IDLE]);
3337 msnsecs[CMS_USER] = NSEC_TO_TICK(msnsecs[CMS_USER]);
3338 msnsecs[CMS_SYSTEM] = NSEC_TO_TICK(msnsecs[CMS_SYSTEM]);
3339 if (cso->cpu_sysinfo.cpu[CPU_IDLE] < msnsecs[CMS_IDLE])
3340 cso->cpu_sysinfo.cpu[CPU_IDLE] = msnsecs[CMS_IDLE];
3341 if (cso->cpu_sysinfo.cpu[CPU_USER] < msnsecs[CMS_USER])
3342 cso->cpu_sysinfo.cpu[CPU_USER] = msnsecs[CMS_USER];
3343 if (cso->cpu_sysinfo.cpu[CPU_KERNEL] < msnsecs[CMS_SYSTEM])
3344 cso->cpu_sysinfo.cpu[CPU_KERNEL] = msnsecs[CMS_SYSTEM];