citra-emu
/
citra
Archived
1
0
Fork 0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
citra/externals/microprofile
Tobias c557b290af
microprofile: Don't memset through std::atomic types (#5528)
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.

Co-authored-by: Lioncash <mathew1800@gmail.com>
2020-12-07 16:04:31 +01:00
..
README.md Integrate the MicroProfile profiling library 2015-08-24 22:16:28 -03:00
microprofile.h microprofile: Don't memset through std::atomic types (#5528) 2020-12-07 16:04:31 +01:00
microprofile_html.h Integrate the MicroProfile profiling library 2015-08-24 22:16:28 -03:00
microprofileui.h microprofile: Don't memset through std::atomic types (#5528) 2020-12-07 16:04:31 +01:00

README.md

microprofile

MicroProfile is a embeddable profiler in a single file, written in C++

It can display profile information in the application, or by generating captures via a minimal built in webserver.

For more information see the project webpage at https://bitbucket.org/jonasmeyer/microprofile