| /src/usr.bin/vmstat/ | 
| drvstats.h | 56 	u_int64_t	  cp_time[CPUSTATES];	/* System timer ticks. */  member in struct:_drive 
 | 
| /src/sys/kern/ | 
| init_sysctl.c | 376 		       CTLTYPE_STRUCT, "cp_time", 946  * sysctl helper routine for kern.cp_time node. Adds up cpu time
 953 	uint64_t *cp_time = NULL;  local in function:sysctl_kern_cptime
 961 	 * of cp_time (and the size thereof) across all processors.
 964 	 * cp_time for that particular processor.
 992 	cp_time = kmem_alloc(node.sysctl_size, KM_SLEEP);
 993 	node.sysctl_data = cp_time;
 994 	memset(cp_time, 0, node.sysctl_size);
 999 				cp_time[i] += ci->ci_schedstate.spc_cp_time[i];
 1009 		 * if doing "all", skip to next cp_time set for next processo
 [all...]
 | 
| /src/sbin/sysctl/ | 
| sysctl.c | 193 	{ "/kern/cp_time(/[0-9]+)?",		kern_cp_time, NULL, NULL }, 2249 	u_int64_t *cp_time;  local in function:kern_cp_time
 2252 	char s[sizeof("kern.cp_time.nnnnnn")];
 2275 	cp_time = malloc(sz);
 2276 	if (cp_time == NULL) {
 2282 	rc = prog_sysctl(name, namelen, cp_time + (n != -1) * CPUSTATES, &osz,
 2287 		free(cp_time);
 2303 		memset(cp_time, 0, sizeof(u_int64_t) * CPUSTATES);
 2305 			cp_time[CP_USER] += cp_time[i * CPUSTATES + CP_USER]
 [all...]
 |