Skip to content

Commit b1883eb

Browse files
committed
Fixed return value of profile_timer_script::time
1 parent b148872 commit b1883eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrScriptEngine/ScriptEngineScript.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ struct profile_timer_script
123123
float time() const
124124
{
125125
using namespace std::chrono;
126-
return float(duration_cast<milliseconds>(accumulator).count()) * 1000000.f;
126+
return float(duration_cast<microseconds>(accumulator).count());
127127
}
128128
};
129129

0 commit comments

Comments
 (0)