?? proflfun.h
字號:
/*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.24 06/05/06 */ /* */ /* CONSTRUCT PROFILING FUNCTIONS HEADER FILE */ /*******************************************************//*************************************************************//* Purpose: *//* *//* Principal Programmer(s): *//* Gary D. Riley *//* *//* Contributing Programmer(s): *//* *//* Revision History: *//* *//* 6.24: Renamed BOOLEAN macro type to intBool. *//* *//*************************************************************/#ifndef _H_proflfun#define _H_proflfun#ifdef LOCALE#undef LOCALE#endif#ifdef _PROFLFUN_SOURCE_#define LOCALE#else#define LOCALE extern#endif#include "userdata.h"struct constructProfileInfo { struct userData usrData; long numberOfEntries; unsigned int childCall : 1; double startTime; double totalSelfTime; double totalWithChildrenTime; };struct profileFrameInfo { unsigned int parentCall : 1; unsigned int profileOnExit : 1; double parentStartTime; struct constructProfileInfo *oldProfileFrame; }; #define PROFLFUN_DATA 15struct profileFunctionData { double ProfileStartTime; double ProfileEndTime; double ProfileTotalTime; int LastProfileInfo; double PercentThreshold; struct userDataRecord ProfileDataInfo; unsigned char ProfileDataID; int ProfileUserFunctions; int ProfileConstructs; struct constructProfileInfo *ActiveProfileFrame; char *OutputString; };#define ProfileFunctionData(theEnv) ((struct profileFunctionData *) GetEnvironmentData(theEnv,PROFLFUN_DATA)) LOCALE void ConstructProfilingFunctionDefinitions(void *); LOCALE void ProfileCommand(void *); LOCALE void ProfileInfoCommand(void *); LOCALE void StartProfile(void *, struct profileFrameInfo *, struct userData **, intBool); LOCALE void EndProfile(void *,struct profileFrameInfo *); LOCALE void ProfileResetCommand(void *); LOCALE void ResetProfileInfo(struct constructProfileInfo *); LOCALE double SetProfilePercentThresholdCommand(void *); LOCALE double SetProfilePercentThreshold(void *,double); LOCALE double GetProfilePercentThresholdCommand(void *); LOCALE double GetProfilePercentThreshold(void *); LOCALE intBool Profile(void *,char *); LOCALE void DeleteProfileData(void *,void *); LOCALE void *CreateProfileData(void *); LOCALE char *SetProfileOutputString(void *,char *);#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -