| Age | Commit message (Collapse) | Author |
|
(cherry picked from commit 3fbbe7cfbe1bc51db12bdc1ec7b21c16d1716366)
|
|
(cherry picked from commit c1e4cfd07eee19069a15e9b82a308d8a914d5637)
|
|
* Core/Misc: Fix issues reported by static analysis
* Core/Vmaps: Code cleanup after e77716188861d4aa83b227a90e04a66b63baeb1f
(cherry picked from commit cfc8f7b442a9dba07b198fcebe2c02ab89cf0a8b)
|
|
integral types, making for easier templating. Default behavior unchanged.
(cherry picked from commit f54cec4db7c67b623383c140159e1171876ace89)
|
|
(cherry picked from commit 534a2388b7c662c8796aabb1ec8cb424879799b6)
|
|
out_of_range errors.
(cherry picked from commit 7478c2c65aea853a2086c9c7ecc56c14ad6ee338)
|
|
#25335)
(cherry picked from commit cd30e0b86ce6ee88386a91cebdf353fc55805c57)
|
|
to Trinity::Impl::EnumUtilsImpl. This avoids confusing name clashes for other implementations in sub-namespaces of Trinity::Impl.
(cherry picked from commit 91744de3162bab23d7c5a0dd65fc8b4249eb803a)
|
|
chat commands and Util.h
(cherry picked from commit a41bbd9ad9adedb15c7133bdef1575a6ec0eb1ab)
|
|
behavior
(cherry picked from commit e1289805fc04e75f9e7cba078cbc826ce60f037a)
|
|
* Trinity::find_type_if - Find a type matching predicate in a given template parameter pack
(cherry picked from commit 84a87d87bfd569192ff1564e3d8b2e68d5fff4bc)
|
|
* Trinity::new_from_tuple - same as std::make_from_tuple except allocates object using "new"
* Trinity::is_tuple - detects whether given type is a tuple specialization
* advstd::type_identity - C++20 std::type_identity
(cherry picked from commit 7c08fc863ac45f2d41b18103b0132004a4c0c524)
|
|
(cherry picked from commit 4286e7aa02e777268b25d8a5bcc1ee87f7b16c4d)
|
|
(cherry picked from commit 5e40eb20e2789b86d4786d86b4bbb8ae83de5e1e)
|
|
(cherry picked from commit 6116e5b38522ccfb00f6c941c75482e05b4c0799)
|
|
Close #25789
(cherry picked from commit 1cafd4ef74350cb3656917e8e033a5e21dcce193)
|
|
log, it was launched by windows with same context as crashing thread
(cherry picked from commit dd34651f4d42ca598b2f1b2ed32e27b4742f4be7)
|
|
reason and print directly to file, not to temporary buffer
(cherry picked from commit c5e1b49e8c02386a0e9edf682692dc6d46cc862f)
|
|
(cherry picked from commit 68fdfcaa507d06ce8e823e7848f4c58ef1e62732)
|
|
file being all red in editor
(cherry picked from commit 39c5e03b749d44df346b8f37aed3eb898526365a)
|
|
exception hander
(cherry picked from commit 83ed35fe62c16f5697f253a9a44bba7dcb83e80d)
|
|
where they can't hurt anyone
(cherry picked from commit 7b8b999516a824b0c417631a77f133eb47b8b2f4)
|
|
(cherry picked from commit b3db50a3b41b2db209327387f59afa1c40532773)
|
|
(cherry picked from commit 8ad6bd8a9ba45ef22ed0275fd402da17666d8522)
|
|
(cherry picked from commit 228696bf80bcd55d35445cd24ae119020c310f88)
|
|
New methods:
TimeTrackerSmall(Milliseconds expiry);
void Update(Milliseconds diff);
void Reset(Milliseconds expiry)
Milliseconds GetExpiry() const
Removed methods:
int32 GetExpiry() const
Also add basic unit tests.
Core/Scripts: Use std::chrono interface of TimeTrackerSmall
(cherry picked from commit e55516348dbabaa8c9d559426315f3f70967acaa)
|
|
(cherry picked from commit 7cf122fc2a604bae77d0b935536c41ec9203e62d)
|
|
If the config setting is not present, returns the default without issuing a warning.
(cherry picked from commit 5ad064976edfc931cdda6faffe723d7c3dfb0ae4)
|
|
Add new metric about how long adding sessions took
(cherry picked from commit 5cd93df9eec1d1b310916fefecc9282e02e9cf2d)
|
|
* Core/Metric: Log detailed metrics about each opcode handler
* Add new panel to Performance profiling dashboard and use fill(0) instead of fill(none)
* Add new settings Metric.Threshold.* to be able to specify the minimum threshold for the specified metrics
* Update dashboard
* Change thresholds to be required to send the metrics. A TC_METRIC_DETAILED_TIMER metric with an expected threshold not configured will be ignored
* Use typedef Milliseconds
* Refresh realms on load
(cherry picked from commit 8a2c79c850199a73fd431d04f83d6aa89733060d)
|
|
metrics (#25136)
* Core/Metric: Add new cmake option WITH_DETAILED_METRICS to enable more metrics
Add more detailed metrics in World::UpdateSessions().
* Attempt using C++17 features
* Fix cmake typo
Co-authored-by: NoName <322016+Faq@users.noreply.github.com>
* Fix build with WITHOUT_METRICS
* Update Performance profiling dashboard with Update sessions panel
* Add panel to show sessions with update time above 100 ms
* Move legends on the right and add max update time diff in the legend of sessions
Co-authored-by: NoName <322016+Faq@users.noreply.github.com>
(cherry picked from commit 36ef487a90d0d14c4da8ce7e19b5916b8b15056c)
|
|
(cherry picked from commit 1d8782e3566393f71fbc091de57c96a9a15972cb)
|
|
uint64 CalculateTime(uint64 t_offset) has been replaced with Milliseconds CalculateTime(Milliseconds t_offset).
Also add the std::chrono-ified overload void AddEvent(BasicEvent*, Milliseconds, bool)
(cherry picked from commit 92a02a5c8750913f596d7e3b58bf8439cb770c28)
|
|
(cherry picked from commit 7865c1c197f4eb9165ef3ab26eb4f750a5b58960)
|
|
DelayEvents(Milliseconds delay) had different semantics than
DelayEvents(Milliseconds delay, uint32 group).
The first method delayed the events only in the case the internal timer
already ticked at least for the amount of delay. In contrast the latter method
delayed events regardless of the internal timer value.
Use the latter semantics for DelayEvents(Milliseconds delay) as well which makes
the outcome more predictable. Adapt tests accordingly.
(cherry picked from commit 4470b9122379dc846b322a441951a03913912b71)
|
|
(cherry picked from commit 8cb35b0d5f1462387033e6bd2f99d0ea829fdcd8)
|
|
Adds the EventMap::Update(Milliseconds time) overload
(cherry picked from commit b9795e44824c7cab58445e4a72d2113ddb451caa)
|
|
to c++14
|
|
(cherry picked from commit d5de96e46bf52ccb2fffe01c0709f9238977a80e)
|
|
(cherry picked from commit 7ea33120a03d70aaa856c2c66f183d684131746e)
|
|
* Core/Metric: Add more metrics about World::Update() loop
* Add new Performance profiling grafana dashboard
* Add new cmake setting WITHOUT_METRICS that disables all metrics
As new metrics are added, someone might want to disable them if unused.
* Add more metrics about World::Update() loop
* Remove old performance profiling features
Remove "server set difftime" command, "-RecordUpdateTimeDiffInterval" and "MinRecordUpdateTimeDiff" worldserver config settings and their related code.
The whole UpdateTime class could be removed too.
* Update and rename 2020_07_99_99_world.sql to 2020_07_24_00_world.sql
(cherry picked from commit 3c0ac7302f902d1811d2c215217a3d701f8b5b19)
|
|
(cherry picked from commit 6ab9922171cf6e2877c39f503bcf987dd9faa898)
|
|
(cherry picked from commit f773bf68e0f96a97b706f366da4071ba28060b04)
|
|
* Core/Threads: Replace Boost TLS with C++11 one
Replace boost::thread_specific_ptr<T> thread-local storage with C++11 thread_local to remove libboost_thread dependency from common project
* Fix no-pch build
(cherry picked from commit 00b16992f1ae3bf14ab5fe6366028a2b8648bfa0)
|
|
fallthroughs (#25054)
Related: #25006
(cherry picked from commit 85b5b842ca6c05d4e51081e6c3282940a80f3761)
|
|
* Core/Metric: Log Map::Update() times
* Add more performant version to reduce allocations when metrics are disabled
* Linux build fix
* Add metric stopwatch version that doesnt let users forget to _END it
* Fix linux build
* Code cleanup
* Add Map updates panel to General dashboard
* Add "Recent events" panel to General dashboard
* Apply latest codestyle changes
Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 5eb742ee6a892b684b0c4cbde9f02f838b8300e5)
|
|
The names are a bit unhandy. Rename them (shorter but still meaningful).
GetGameTimeSystemPoint() -> GetSystemTime()
GetGameTimeSteadyPoint() -> Now()
Also add 2 new typedefs:
typedef std::chrono::steady_clock::time_point TimePoint;
typedef std::chrono::system_clock::time_point SystemTimePoint;
Closes #25042
(cherry picked from commit 896b68d5c297b06587645caebc98b704978ecaa7)
|
|
(cherry picked from commit c0ade2e98fbc6cc129b4725d2216016f90996e8b)
|
|
(cherry picked from commit 524d16739861d0b2279e2270e319b0c77ec9b03b)
|
|
C++17 is already mandatory, so it's a safe thing to do
(cherry picked from commit 202fd41389973322f63186fd8e5a368fce3e1b04)
|