Ticket #5169: case-debuganalyzer.diff

File case-debuganalyzer.diff, 6.2 KB (added by humdinger, 9 years ago)

since I couldn't compile that one, I had to do it "blind"

  • src/apps/debuganalyzer/gui/thread_window/ActivityPage.cpp

     
    352352        .Add(new BScrollView("activity scroll", fActivityChart, 0, true, false))
    353353        .AddStrut(20)
    354354        .Add(BGridLayoutBuilder()
    355             .Add(fRunTimeCheckBox = new ColorCheckBox("Run Time", kRunTimeColor,
     355            .Add(fRunTimeCheckBox = new ColorCheckBox("Run time", kRunTimeColor,
    356356                    new BMessage(MSG_CHECK_BOX_RUN_TIME)),
    357357                0, 0)
    358             .Add(fWaitTimeCheckBox = new ColorCheckBox("Wait Time",
     358            .Add(fWaitTimeCheckBox = new ColorCheckBox("Wait time",
    359359                    kWaitTimeColor, new BMessage(MSG_CHECK_BOX_WAIT_TIME)),
    360360                1, 0)
    361             .Add(fPreemptionTimeCheckBox = new ColorCheckBox("Preemption Time",
     361            .Add(fPreemptionTimeCheckBox = new ColorCheckBox("Preemption time",
    362362                    kPreemptionTimeColor,
    363363                    new BMessage(MSG_CHECK_BOX_PREEMPTION_TIME)),
    364364                0, 1)
    365             .Add(fLatencyTimeCheckBox = new ColorCheckBox("Latency Time",
     365            .Add(fLatencyTimeCheckBox = new ColorCheckBox("Latency time",
    366366                    kLatencyTimeColor,
    367367                    new BMessage(MSG_CHECK_BOX_LATENCY_TIME)),
    368368                1, 1)
  • src/apps/debuganalyzer/gui/thread_window/GeneralPage.cpp

     
    2727    fThreadNameView = AddDataView("Name:");
    2828    fThreadIDView = AddDataView("ID:");
    2929    fTeamView = AddDataView("Team:");
    30     fRunTimeView = AddDataView("Run Time:");
    31     fWaitTimeView = AddDataView("Wait Time:");
     30    fRunTimeView = AddDataView("Run time:");
     31    fWaitTimeView = AddDataView("Wait time:");
    3232    fLatencyView = AddDataView("Latencies:");
    3333    fPreemptionView = AddDataView("Preemptions:");
    34     fUnspecifiedTimeView = AddDataView("Unspecified Time:");
     34    fUnspecifiedTimeView = AddDataView("Unspecified time:");
    3535}
    3636
    3737
  • src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp

     
    478478            int32 filteredCount = fFilterModel->CountSelectedItems();
    479479            int32 selectedCount = fSelectionModel->CountSelectedItems();
    480480
    481             BMenuItem* item = new BMenuItem("Hide Selected Threads",
     481            BMenuItem* item = new BMenuItem("Hide selected threads",
    482482                new BMessage(MSG_SCHEDULING_FILTER_HIDE_SELECTED));
    483483            contextMenu->AddItem(item);
    484484            item->SetTarget(this);
    485485            if (selectedCount == 0 || selectedCount == filteredCount)
    486486                item->SetEnabled(false);
    487487
    488             item = new BMenuItem("Hide Unselected Threads",
     488            item = new BMenuItem("Hide unselected threads",
    489489                new BMessage(MSG_SCHEDULING_FILTER_HIDE_UNSELECTED));
    490490            contextMenu->AddItem(item);
    491491            item->SetTarget(this);
    492492            if (selectedCount == 0 || selectedCount == filteredCount)
    493493                item->SetEnabled(false);
    494494
    495             item = new BMenuItem("Show All Threads",
     495            item = new BMenuItem("Show all threads",
    496496                new BMessage(MSG_SCHEDULING_FILTER_SHOW_ALL));
    497497            contextMenu->AddItem(item);
    498498            item->SetTarget(this);
     
    899899        }
    900900
    901901        text << "\n\n";
    902         text << "Running Threads:";
     902        text << "Running threads:";
    903903        for (int32 i = 0; i < cpuCount; i++) {
    904904            text << "\n  " << i << ": ";
    905905            if (Model::Thread* thread = runningThreads[i])
  • src/apps/debuganalyzer/gui/main_window/ThreadsPage.cpp

     
    133133        1000, false, B_TRUNCATE_MIDDLE, B_ALIGN_RIGHT));
    134134    fThreadsTable->AddColumn(new Int64TableColumn(5, "Runs", 80, 20, 1000,
    135135        B_TRUNCATE_END, B_ALIGN_RIGHT));
    136     fThreadsTable->AddColumn(new NanotimeTableColumn(6, "Run Time", 80, 20,
     136    fThreadsTable->AddColumn(new NanotimeTableColumn(6, "Run time", 80, 20,
    137137        1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
    138138    fThreadsTable->AddColumn(new Int64TableColumn(7, "Latencies", 80, 20, 1000,
    139139        B_TRUNCATE_END, B_ALIGN_RIGHT));
    140     fThreadsTable->AddColumn(new NanotimeTableColumn(8, "Latency Time", 80, 20,
     140    fThreadsTable->AddColumn(new NanotimeTableColumn(8, "Latency time", 80, 20,
    141141        1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
    142142    fThreadsTable->AddColumn(new Int64TableColumn(9, "Preemptions", 80, 20,
    143143        1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
    144     fThreadsTable->AddColumn(new NanotimeTableColumn(10, "Preemption Time", 80,
     144    fThreadsTable->AddColumn(new NanotimeTableColumn(10, "Preemption time", 80,
    145145        20, 1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
    146146    fThreadsTable->AddColumn(new Int64TableColumn(11, "Waits", 80, 20,
    147147        1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
    148     fThreadsTable->AddColumn(new NanotimeTableColumn(12, "Wait Time", 80,
     148    fThreadsTable->AddColumn(new NanotimeTableColumn(12, "Wait time", 80,
    149149        20, 1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
    150     fThreadsTable->AddColumn(new NanotimeTableColumn(13, "Unspecified Time", 80,
     150    fThreadsTable->AddColumn(new NanotimeTableColumn(13, "Unspecified time", 80,
    151151        20, 1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
    152152    fThreadsTable->AddColumn(new Int64TableColumn(14, "I/O Count", 80, 20,
    153153        1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
  • src/apps/debuganalyzer/gui/main_window/GeneralPage.cpp

     
    2121    fTeamCountView(NULL),
    2222    fThreadCountView(NULL)
    2323{
    24     fDataSourceView = AddDataView("Data Source:");
     24    fDataSourceView = AddDataView("Data source:");
    2525    fCPUCountView = AddDataView("Number of CPUs:");
    26     fRunTimeView = AddDataView("Total Time:");
    27     fIdleTimeView = AddDataView("Idle Time:");
     26    fRunTimeView = AddDataView("Total time:");
     27    fIdleTimeView = AddDataView("Idle time:");
    2828    fTeamCountView = AddDataView("Teams:");
    2929    fThreadCountView = AddDataView("Threads:");
    3030}