summaryrefslogtreecommitdiff
path: root/src/common/telemetry.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common/telemetry: Migrate core-independent info gathering to commonGravatar Lioncash2018-08-141-0/+12
| | | | | | | | | | | | Previously core itself was the library containing the code to gather common information (build info, CPU info, and OS info), however all of this isn't core-dependent and can be moved to the common code and use the common interfaces. We can then just call those functions from the core instead. This will allow replacing our CPU detection with Xbyak's which has better detection facilities than ours. It also keeps more architecture-dependent code in common instead of core.
* telemetry: Remove unnecessary Field constructorGravatar Lioncash2018-07-181-4/+1
| | | | | We can just take the value parameter by value which allows both moving into it, and copies at the same time, depending on the calling code.
* telemetry: Make operator== and operator!= const member functions of FieldGravatar Lioncash2018-07-181-2/+2
| | | | | | | These operators don't modify internal class state, so they can be made const member functions. While we're at it, drop the unnecessary inline keywords. Member functions that are defined in the class declaration are already inline by default.
* telemetry: Default copy/move constructors and assignment operatorsGravatar Lioncash2018-07-181-14/+4
| | | | | | This provides the equivalent behavior, but without as much boilerplate. While we're at it, explicitly default the move constructor, since we have a move-assignment operator defined.
* telemetry.h: Reword comment from citra to yuzuGravatar N00byKing2018-03-271-1/+1
|
* telemetry: Silence initialization order warningsGravatar Lioncash2018-01-171-2/+2
|
* common: Add a generic interface for logging telemetry fields.Gravatar bunnei2017-05-241-0/+196