Remotery icon indicating copy to clipboard operation
Remotery copied to clipboard

pause button

Open r-lyeh-archived opened this issue 11 years ago • 3 comments

hello again,

the button pauses both the graphics and windows, but console text is still displaying and logging. is this intended?

also, it could be nice if the pause button would enhance status color to be like this:

red = status off, pause off, green = status on, pause off, gray = status off, pause on, yellow = status on, pause on,

btw, the green/red light is crazy since a few ago and blinks all the time, no matter what the connection status is. any idea?

r-lyeh-archived avatar Aug 23 '14 12:08 r-lyeh-archived

The green light is like a heart-beat. If will flash green and fade to red, roughly every second and only if the Remotery server sends it a ping network message. I guess it's working for you now by the sounds of things :)

There are times (during game loading screens for example) when no profile samples are made but the server will still ping the viewer to let you know that everything is alive and well. It's a little more informative than a single colour that may or may not time-out based on connection status (which can remain live long after your game has crashed).

The pause button is just a hack for the moment. I use it primarily for inspecting the timeline when I see something I'm interested in (dragging and zooming on the timeline only work when the viewer is paused).

You can see that even though the timeline is paused, it still receives new samples at the end. So I'm not sure if it works to make the pause button affect the console. The equivalent console operation would be to stop scrolling to the end so you can look at what's just been printed.

This is all work-in-progress and will change quite significantly over the next few months!

dwilliamson avatar Aug 24 '14 22:08 dwilliamson

aha, makes sense but i still think the colors are wrong. almost in all modern cultures, red is for things that are stoppers or not working at all! :D you would better use green to black with no fades, just quick blinks. our (my) brain is mostly used to this led behaviour :)

the pause behaviour is interesting once explained. also, how do you zoom? would you be interested at profiling openGL too? if so, this project might come in handy https://github.com/Funto/OpenGL-Timestamp-Profiler

keep up the good work!

r-lyeh-archived avatar Aug 25 '14 09:08 r-lyeh-archived

OK, I think I get the colour thing. It'd be easy to change the red to an orange or something - it needs to be a colour that represents the absence of a ping, or; the absence of a "heart beat".

The difficulty is that then the colour needs to change to red when there is no connection. That's a valid task so I'll leave the issue open here to cover just that.

So: 1) change heart-beat fade-out to something other than read, 2) icon switches to red when there is no connection. Pull requests are welcome :)

You can zoom using the mouse-wheel. It will also zoom into/out of the area you have the mouse hovering over.

I have plans to add D3D/OpenGL profiling. It will come soon when I need D3D support. It will be trivial to add OpenGL support once I clean things up a bit, I just have no use-case myself. I'll open a couple of issues.

dwilliamson avatar Aug 25 '14 21:08 dwilliamson