mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-12-02 09:00:35 +01:00
extra buffer precautions to not exhaust DMem, format better + perf history nerf
This commit is contained in:
parent
47d59cf994
commit
1de83fad38
2 changed files with 4 additions and 3 deletions
|
|
@ -32,9 +32,6 @@ struct Fiber::FiberImpl {
|
||||||
boost::context::detail::fcontext_t context{};
|
boost::context::detail::fcontext_t context{};
|
||||||
boost::context::detail::fcontext_t rewind_context{};
|
boost::context::detail::fcontext_t rewind_context{};
|
||||||
|
|
||||||
boost::context::detail::fcontext_t context{};
|
|
||||||
boost::context::detail::fcontext_t rewind_context{};
|
|
||||||
|
|
||||||
std::mutex guard;
|
std::mutex guard;
|
||||||
std::function<void()> entry_point;
|
std::function<void()> entry_point;
|
||||||
std::function<void()> rewind_point;
|
std::function<void()> rewind_point;
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,11 @@ private:
|
||||||
std::size_t current_index{0};
|
std::size_t current_index{0};
|
||||||
/// Stores an hour of historical frametime data useful for processing and tracking performance
|
/// Stores an hour of historical frametime data useful for processing and tracking performance
|
||||||
/// regressions with code changes.
|
/// regressions with code changes.
|
||||||
|
#ifdef __OPENORBIS__
|
||||||
|
std::array<double, 60> perf_history{};
|
||||||
|
#else
|
||||||
std::array<double, 216000> perf_history{};
|
std::array<double, 216000> perf_history{};
|
||||||
|
#endif
|
||||||
|
|
||||||
/// Point when the cumulative counters were reset
|
/// Point when the cumulative counters were reset
|
||||||
Clock::time_point reset_point = Clock::now();
|
Clock::time_point reset_point = Clock::now();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue