summaryrefslogtreecommitdiffstats
path: root/externals/microprofile/microprofile.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-14externals: microprofile: Eliminate variable shadowingMorph1-1/+1
2020-11-03microprofile: Silence warning in headersLioncash1-1/+5
Silences a truncation warning by making the truncation explicit and documenting the reason for it.
2020-11-02common: Enable warnings as errorsLioncash1-6/+8
Cleans up common so that we can enable warnings as errors.
2020-10-21Revert "core: Fix clang build"bunnei1-2/+2
2020-10-18core: Fix clang buildLioncash1-2/+2
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_bUseLockReinUsesLisp1-1/+1
As reported by tsan, g_bUseLock had a data race. Fix this using an atomic boolean.
2020-08-24microprofile: Don't memset through std::atomic typesLioncash1-19/+38
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-17General: Resolve warnings related to missing declarationsLioncash1-10/+10
2020-03-19microprofile: Silence sign comparison warningReinUsesLisp1-3/+3
2020-03-12Microprofile: Allow accessing token.Fernando Sahmkow1-0/+1
2019-11-08microprofile: Silence conversion warningsReinUsesLisp1-3/+3
2017-02-05Fix Microprofile in MinGW (#2530)Fernando Sahmkow1-1/+1
2016-11-14Add mingw compile supportJames Rowe1-2/+2
2016-10-28microprofile: unbreak on POSIX systemsJan Beich1-4/+4
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-25Integrate the MicroProfile profiling libraryYuri Kunde Schlesner1-0/+3571
This brings goodies such as a configurable user interface and multi-threaded timeline view.