mirror of
https://github.com/matrix-construct/construct
synced 2024-09-26 18:38:52 +02:00
modules/console: Fix total cycle regression due to API change.
This commit is contained in:
parent
327130ecb7
commit
fd23deefb8
1 changed files with 1 additions and 1 deletions
|
@ -2173,7 +2173,7 @@ console_cmd__ctx__list(opt &out, const string_view &line)
|
|||
out << " "
|
||||
<< std::setw(15) << std::right << cycles(ctx);
|
||||
|
||||
const long double total_cyc(ctx::prof::get(ctx, ctx::prof::event::CYCLES));
|
||||
const long double total_cyc(ctx::prof::get(ctx::prof::event::CYCLES));
|
||||
const auto tsc_pct
|
||||
{
|
||||
total_cyc > 0.0? (cycles(ctx) / total_cyc) : 0.0L
|
||||
|
|
Loading…
Reference in a new issue