示例#1
0
void scan(void)
{
    for(uint8 i = 0; i<16; ++i)
    {
        ScanColumn(i);
        PrintColumn(i);
    }
}
示例#2
0
static void PrintGroup(ProfileGroup& group, const char* groupName, int& x, int& y)
{
    int width, height;

    PrintColumn(group, groupName, kColName, x, y, width, height);
    x += width + 10;

    PrintColumn(group, "Avg", kColAvg, x, y, width, height);
    x += width + 10;

    PrintColumn(group, "Cur", kColValue, x, y, width, height);
    x += width + 10;

    PrintColumn(group, "Max", kColMax, x, y, width, height);
    x += width + 10;

    y += height;
}
示例#3
0
static void PrintLapGroup(ProfileGroup& group, const char* groupName, int& x, int& y, int min)
{
    int width, height;

    if(min > 0)
    {
        PrintColumn(group, "Index", kColIndex, x, y, width, height, min);
        x += width + 10;
    }

    PrintColumn(group, "Avg", kColAvg, x, y, width, height);
    x += width + 10;
    
    PrintColumn(group, groupName, kColName, x, y, width, height);
    x += width + 10;

    PrintColumn(group, "Cur", kColValue, x, y, width, height);
    x += width + 10;

    y += height;
}