summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FPSCounter.cpp
AgeCommit message (Collapse)Author
2021-12-10Treewide: Adjust order of includesPokechu22
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-05-06Fix FPS counter and Game Window speed % breaking on pause/unpauseFiloppi
-Add pause state to FPSCounter. -Add ability to have more than one "OnStateChanged" callback in core. -Add GetActualEmulationSpeed() to Core. Returns 1 by default. It's used by my input PRs.
2017-12-05Don't use wrong encoding for paths when opening streams on WindowsJosJuice
2017-07-30VideoCommon: Improve precision of FPS counterStenzek
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-01-17VideoCommon: Header cleanupLioncash
Also remedies places where the video backends and core rely on things being indirectly included.
2015-09-29FPSCounter: Change Update's return type to voidLioncash
Its returned value is never used.
2015-09-29FPSCounter: Give the refresh interval a concrete typeLioncash
2015-09-29FPSCounter: Direct initialize class membersLioncash
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2014-07-26FPSCounter: Initialize members.Jules Blok
2014-07-18FPSCounter: Remove redundant destructor.Jules Blok
2014-07-16Turn the FPSCounter namespace into a class.Jules Blok
2014-07-10FPSCounter: Flush the logs every second and close them when the renderer is ↵Jules Blok
shut down.
2014-07-09FPSCounter: Change format string to match value.Jules Blok
2014-07-09Replace "Log FPS to file" by the "Log render time to file" feature.Jules Blok
2014-07-09FPSCounter: Use a Timer for the FPS update time.Jules Blok
2014-07-09FPSCounter: Add "Log render time to file" feature.Jules Blok
Allows for a more accurate performance measurement.
2014-07-02FPS counter cleanupLioncash
- Isolate it into it's own namespace - Shorten function names, the namespace self-documents. - Just use the std I/O, we can just write directly to the stream for logging.
2014-02-28Various changes suggested by cppcheckTillmann Karras
- remove unused variables - reduce the scope where it makes sense - correct limits (did you know that strcat()'s last parameter does not include the \0 that is always added?) - set some free()'d pointers to NULL
2014-02-18Convert all includes to relative paths.Lioncash
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre