| 63 | } |
| 64 | |
| 65 | void CMP_CMIPS::Print(const char* Format, ...) |
| 66 | { |
| 67 | if (!PrintLine) |
| 68 | return; |
| 69 | |
| 70 | if (m_infolevel & 0x01) |
| 71 | { |
| 72 | char buff[1024]; |
| 73 | // define a pointer to save argument list |
| 74 | va_list args; |
| 75 | // process the arguments into our debug buffer |
| 76 | va_start(args, Format); |
| 77 | vsnprintf(buff, 1024, Format, args); |
| 78 | va_end(args); |
| 79 | |
| 80 | PrintLine(buff); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | // Determines the active channels used for a given format |
| 85 | // See CMP_AnalysisData for more details on the bits set |
no outgoing calls
no test coverage detected