Searched refs:profiling (Results 1 - 10 of 10) sorted by relevance

/xnu-2782.1.97/SETUP/config/
H A Dexterns.c63 int profiling = 0; variable
H A Dconfig.h149 extern int profiling;
H A Dmain.c105 profiling++;
H A Dmkmakefile.c194 if (profiling)
212 if (profiling && strncmp(line, "COPTS=", 6) == 0) {
297 * [ dev* | profiling-routine ] [ device-driver]
354 if (eq(wd, "device-driver") || eq(wd, "profiling-routine")) {
467 if (eq(devorprof, "profiling-routine") && profiling == 0)
478 else if (eq(devorprof, "profiling-routine"))
605 if (profiling && (strncmp(line, "LIBS=", 5) == 0))
685 if (!profiling)
/xnu-2782.1.97/osfmk/profiling/
H A Dprofile-mk.h32 * Microkernel interface to common profiling.
35 #include <profiling/profile-internal.h>
H A Dprofile-kgmon.c54 * Add code to reset profiling information.
73 #include <profiling/profile-internal.h>
76 #include <profiling/machine/profile-md.h>
161 case KGMON_GET_STATUS: /* return whether or not profiling is active */
252 case KGMON_SET_PROFILE_ON: /* turn on profiling */
277 case KGMON_SET_PROFILE_OFF: /* turn off profiling */
302 case KGMON_SET_PROFILE_RESET: /* reset profiling */
323 case KGMON_SET_DEBUG_ON: /* turn on profiling */
346 case KGMON_SET_DEBUG_OFF: /* turn off profiling */
H A Dprofile-internal.h32 * Define the internal interfaces between the profiling support that is
146 KGMON_GET_STATUS, /* return whether or not profiling is active */
151 KGMON_SET_PROFILE_ON = 50, /* turn on profiling */
152 KGMON_SET_PROFILE_OFF, /* turn off profiling */
153 KGMON_SET_PROFILE_RESET, /* reset profiling tables */
178 #include <profiling/machine/profile-md.h>
213 * profiling output.
293 prof_flag_t active; /* != 0 if profiling is active */
294 prof_flag_t do_profile; /* != 0 if profiling is being done */
311 struct profile_stats stats; /* profiling statistic
[all...]
H A Dprofile-mk.c32 * Microkernel interface to common profiling.
35 #include <profiling/profile-mk.h>
62 panic("Call to _profile_alloc_pages while profiling is running.");
66 panic("Could not allocate memory for profiling");
71 printf("Allocated %d bytes for profiling, address 0x%x\n", (int)size, (int)addr);
81 printf("Freed %d bytes for profiling, address 0x%x\n", (int)size, (int)addr);
90 panic("Fatal error in profiling");
/xnu-2782.1.97/bsd/conf/
H A Dfiles39 OPTIONS/profiling optional profiling
/xnu-2782.1.97/osfmk/i386/
H A Dmp.c58 #include <profiling/profile-mk.h>
187 * Initialize dummy structs for profiling. These aren't used but
196 /* Hack to initialize pointers to unused profiling structs */ \

Completed in 45 milliseconds