profile.h (88088) | profile.h (92843) |
---|---|
1/* $FreeBSD: head/sys/ia64/include/profile.h 88088 2001-12-18 00:27:18Z jhb $ */ | 1/* $FreeBSD: head/sys/ia64/include/profile.h 92843 2002-03-20 23:30:31Z alfred $ */ |
2/* From: NetBSD: profile.h,v 1.9 1997/04/06 08:47:37 cgd Exp */ 3 4/* 5 * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. 6 * All rights reserved. 7 * 8 * Author: Chris G. Demetriou 9 * --- 92 unchanged lines hidden (view full) --- 102#define MCOUNT_ENTER(s) \n\ 103 _c = cpu_critical_enter() 104#define MCOUNT_EXIT(s) \n\ 105 cpu_critical_exit(_c) 106#define MCOUNT_DECL(s) critical_t c; 107#ifdef GUPROF 108struct gmonparam; 109 | 2/* From: NetBSD: profile.h,v 1.9 1997/04/06 08:47:37 cgd Exp */ 3 4/* 5 * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. 6 * All rights reserved. 7 * 8 * Author: Chris G. Demetriou 9 * --- 92 unchanged lines hidden (view full) --- 102#define MCOUNT_ENTER(s) \n\ 103 _c = cpu_critical_enter() 104#define MCOUNT_EXIT(s) \n\ 105 cpu_critical_exit(_c) 106#define MCOUNT_DECL(s) critical_t c; 107#ifdef GUPROF 108struct gmonparam; 109 |
110void nullfunc_loop_profiled __P((void)); 111void nullfunc_profiled __P((void)); 112void startguprof __P((struct gmonparam *p)); 113void stopguprof __P((struct gmonparam *p)); | 110void nullfunc_loop_profiled(void); 111void nullfunc_profiled(void); 112void startguprof(struct gmonparam *p); 113void stopguprof(struct gmonparam *p); |
114#else 115#define startguprof(p) 116#define stopguprof(p) 117#endif /* GUPROF */ 118 119#else /* !_KERNEL */ 120typedef u_long uintfptr_t; 121#endif | 114#else 115#define startguprof(p) 116#define stopguprof(p) 117#endif /* GUPROF */ 118 119#else /* !_KERNEL */ 120typedef u_long uintfptr_t; 121#endif |