|
Pin
|
Classes | |
| class | LOGFILE |
| class | MESSAGE_TYPE |
| class | MESSAGE_TYPE_ALWAYS_ON |
Typedefs | |
| typedef BOOL(* | MESSAGE_CALLBACK) (const std::string &message, PIN_ERRTYPE type, INT32 userType, INT32 severity, INT32 numArgs, va_list ap) |
Enumerations | |
| enum | LOGTYPE { LOGTYPE_NONE , LOGTYPE_CONSOLE , LOGTYPE_LOGFILE , LOGTYPE_CONSOLE_AND_LOGFILE } |
Functions | |
| UINT64 | MilliSecondsElapsed () |
| std::string | AssertString (const char *fileName, const char *functionName, unsigned line, const std::string &message) |
| VOID | BreakMe () |
| typedef BOOL(* MESSAGE_CALLBACK) (const std::string &message, PIN_ERRTYPE type, INT32 userType, INT32 severity, INT32 numArgs, va_list ap) |
NOTE: At the moment all knob parsing is also done inside Pin. This means that if we want message types that are used outside of Pin, we still need to declare them inside Pin, for that purpose we introduce LOGTYPE_NONE.
A call-back function that is called whenever a MESSAGE_TYPE object prints a message.
| [in] | messageName | Name of the MESSAGE_TYPE object. This is empty for messages printed via PrintMessageAndExit(). |
| [in] | message | The text of the message. |
| [in] | type | The type of the message. |
| [in] | ap | A variable list of additional arguments for the message. |
| enum LOGTYPE |
|
extern |
Create a string for an assertion failure.
| [in] | fileName | Name of the file containing the assertion failure or the empty string. |
| [in] | functionName | Name of the function containing the assertion failure. |
| [in] | line | Line number of the assertion failure. |
| [in] | message | Message describing the failure. |
|
extern |
MilliSeconds elapsed since last invocation of this function
|
extern |
Assert message object
|
extern |
Console message object
|
extern |
Console message object - No prefix
|
extern |
Error message object for fatal errors that require post-logging handling. These errors do not cause the process termination in the MESSAGE_TYPE::Message() function.
|
extern |
Debug message object
|
extern |
Error message object (terminates) (Always on message, using mesgoff from command line has no effect)
|
extern |
Info message object
|
extern |
Known-warning message object
|
extern |
Log message object
|
extern |
Error message object for non-fatal error.
|
extern |
Optimization opportunity message object
|
extern |
Phase message object
|
extern |
Statistcis message object
|
extern |
Warning message object