summaryrefslogtreecommitdiff
path: root/src/game/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/interface.cpp')
-rw-r--r--src/game/interface.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/interface.cpp b/src/game/interface.cpp
index 262c3ae..bd70dbb 100644
--- a/src/game/interface.cpp
+++ b/src/game/interface.cpp
@@ -277,7 +277,11 @@ void state_t::render_to(render::state_t *render)
x[1] += em;
ss.str(std::string());
ss << std::fixed << std::setprecision(3);
- ss << "Game t/F/B: " << game->time * 1.0e-9 << "/" << game->frames << "/" << game->frames_behind;
+ ss << "Game t/F/B/PFT: ";
+ ss << game->time * 1.0e-9 << "/";
+ ss << game->frames << "/";
+ ss << game->frames_behind << "/";
+ ss << game->pathfinder_time * 1.0e-9 << " (" << ((float)game->pathfinder_time / game->time * 100.0f) << "%)";
render->render_text(x, em, ss.str(), render::ALIGN_LEFT_TOP, sf::Color::White);
}