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

/xnu-2422.115.4/SETUP/config/
H A Dexterns.c79 int profiling = 0; variable
H A Dmain.c105 profiling++;
H A Dconfig.h244 extern int profiling;
H A Dmkmakefile.c244 if (profiling)
280 if (profiling && strncmp(line, "COPTS=", 6) == 0) {
379 * [ dev* | profiling-routine ] [ device-driver]
386 * [ dev* | profiling-routine ] [ device-driver]
463 if (eq(wd, "device-driver") || eq(wd, "profiling-routine")) {
593 if (eq(devorprof, "profiling-routine") && profiling == 0)
604 else if (eq(devorprof, "profiling-routine"))
786 if (profiling && (strncmp(line, "LIBS=", 5) == 0))
966 if (!profiling)
[all...]
H A Dparser.y280 { profiling++; }
/xnu-2422.115.4/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-2422.115.4/bsd/conf/
H A Dfiles58 OPTIONS/profiling optional profiling
/xnu-2422.115.4/osfmk/i386/
H A Dmp.c57 #include <profiling/profile-mk.h>
184 * Initialize dummy structs for profiling. These aren't used but
193 /* Hack to initialize pointers to unused profiling structs */ \

Completed in 37 milliseconds