aboutsummaryrefslogtreecommitdiff
path: root/externals/microprofile/microprofile.h
AgeCommit message (Collapse)Author
2020-11-03microprofile: Silence warning in headersLioncash
Silences a truncation warning by making the truncation explicit and documenting the reason for it.
2020-11-02common: Enable warnings as errorsLioncash
Cleans up common so that we can enable warnings as errors.
2020-10-20Revert "core: Fix clang build"bunnei
2020-10-17core: Fix clang buildLioncash
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-08-26externals/microprofile: Fix data race in g_bUseLockReinUsesLisp
As reported by tsan, g_bUseLock had a data race. Fix this using an atomic boolean.
2020-08-23microprofile: Don't memset through std::atomic typesLioncash
Two of the members of the MicroProfileThreadLog contains two std::atomic instances. Given these aren't trivially-copyable types, we shouldn't be memsetting the structure, given implementation details can contain other members within it. To avoid potential undefined behavior on platforms, we can use aggregate initialization to zero out the members while still having well-defined behavior. While we're at it we can also silence some sign conversion warnings.
2020-04-16General: Resolve warnings related to missing declarationsLioncash
2020-03-18microprofile: Silence sign comparison warningReinUsesLisp
2020-03-12Microprofile: Allow accessing token.Fernando Sahmkow
2019-11-08microprofile: Silence conversion warningsReinUsesLisp
2017-02-04Fix Microprofile in MinGW (#2530)Fernando Sahmkow
2016-11-13Add mingw compile supportJames Rowe
2016-10-27microprofile: unbreak on POSIX systemsJan Beich
In file included from src/common/microprofile.cpp:7: In file included from src/./common/microprofile.h:23: externals/microprofile/microprofile.h:830:5: error: use of undeclared identifier 'MP_BREAK' MP_ASSERT(t == nBegin); ^ externals/microprofile/microprofile.h:238:34: note: expanded from macro 'MP_ASSERT' ^ externals/microprofile/microprofile.h:831:5: error: use of undeclared identifier 'MP_BREAK' MP_ASSERT(nTimerIndex == (nToken&0x3fff)); ^ externals/microprofile/microprofile.h:238:34: note: expanded from macro 'MP_ASSERT' ^ [...]
2015-08-24Integrate the MicroProfile profiling libraryYuri Kunde Schlesner
This brings goodies such as a configurable user interface and multi-threaded timeline view.