| 221 | } |
| 222 | |
| 223 | void StatisticsWindow::processTablesTab() |
| 224 | { |
| 225 | if (!_tableLiveStatistics.isDataAvailable()) { |
| 226 | return; |
| 227 | } |
| 228 | |
| 229 | ImGui::PushID(3); |
| 230 | if (ImGui::BeginTable( |
| 231 | "##throughput", |
| 232 | 2, |
| 233 | ImGuiTableFlags_BordersInnerH | ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersOuterH | ImGuiTableFlags_BordersOuterV, |
| 234 | ImVec2(-1, 0))) { |
| 235 | |
| 236 | ImGui::TableSetupColumn("##"); |
| 237 | ImGui::TableSetupColumn("##", ImGuiTableColumnFlags_WidthFixed, scale(RightColumnWidthTable)); |
| 238 | |
| 239 | ImGui::TableNextRow(); |
| 240 | ImGui::TableSetColumnIndex(0); |
| 241 | AlienImGui::Text(StringHelper::format(_tableLiveStatistics.getCreatedCellsPerSecond())); |
| 242 | |
| 243 | ImGui::TableSetColumnIndex(1); |
| 244 | AlienImGui::Text("Created cells / sec"); |
| 245 | |
| 246 | ImGui::TableNextRow(); |
| 247 | ImGui::TableSetColumnIndex(0); |
| 248 | AlienImGui::Text(StringHelper::format(_tableLiveStatistics.getCreatedReplicatorsPerSecond())); |
| 249 | |
| 250 | ImGui::TableSetColumnIndex(1); |
| 251 | AlienImGui::Text("Created self-replicators / sec"); |
| 252 | |
| 253 | ImGui::EndTable(); |
| 254 | } |
| 255 | ImGui::PopID(); |
| 256 | } |
| 257 | |
| 258 | void StatisticsWindow::processSettings() |
| 259 | { |
nothing calls this directly
no test coverage detected