New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FPSCounter: Add "Log render time to file" feature. #591
Conversation
| @@ -17,20 +17,27 @@ namespace FPSCounter | |||
| static unsigned int s_counter = 0; | |||
| static unsigned int s_fps = 0; | |||
| static unsigned int s_fps_last_counter = 0; | |||
| static unsigned long s_last_update_time = 0; | |||
| Common::Timer s_update_time; | |||
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
imo this feature is better than LogFPSToFile, but I don't think we need both. Lots of guys are used to FPS, but ms per frame is the easier one to calculate. I also like to have this dumped for every frame, so we'll likely see the impact of texture decoding and/or shader generator better. |
|
In this PR it is already dumped for every frame. |
|
Agreed, we don't need both, and render time is objectively better. |
|
I will replace it, should I account for the value of LogFPSToFile already saved in the config? |
|
I would change the setting name, this option is not important enough to On Wed, Jul 9, 2014 at 5:43 PM, Jules Blok notifications@github.com wrote:
Pierre "delroth" Bourdon delroth@gmail.com |
Allows for a more accurate performance measurement.
|
I've made the necessary changes based on the feedback. |
| @@ -17,36 +17,44 @@ namespace FPSCounter | |||
| static unsigned int s_counter = 0; | |||
| static unsigned int s_fps = 0; | |||
| static unsigned int s_fps_last_counter = 0; | |||
| static unsigned long s_last_update_time = 0; | |||
| static Common::Timer s_update_time; | |||
|
|
|||
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
@Armada651: This comment grants you the permission to merge this pull request whenever you think it is ready. After addressing the remaining comments, click this link to merge. @dolphin-emu-bot allowmerge |
FPSCounter: Add "Log render time to file" feature.
| @@ -322,7 +322,7 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con | |||
| { | |||
| SettingCheckBox* render_to_main_cb; | |||
| szr_other->Add(CreateCheckBox(page_general, _("Show FPS"), wxGetTranslation(show_fps_desc), vconfig.bShowFPS)); | |||
| szr_other->Add(CreateCheckBox(page_general, _("Log FPS to file"), wxGetTranslation(log_fps_to_file_desc), vconfig.bLogFPSToFile)); | |||
| szr_other->Add(CreateCheckBox(page_general, _("Log render time to file"), wxGetTranslation(log_render_time_to_file_desc), vconfig.bLogRenderTimeToFile)); | |||
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Allows for a more accurate performance measurement than the FPS log feature.