Profiler

22 views
Skip to first unread message

iarwain

unread,
Mar 26, 2013, 2:25:28 AM3/26/13
to orx...@googlegroups.com
Hey all,

I'm about to enhanced a bit the profiler. Here's what I have in mind:
- adding history over the X last frame (for example ~2 seconds at 60 FPS)
- adding a visual histogram with colors to see the evolution of the different profiler tags in realtime, allowing to see more easily peaks
- possibility to pause/resume the profiler and to navigate through the X last frames and display their value

Any ideas/comments?

Cheers,

Rom

Gilles Zucchini

unread,
Mar 27, 2013, 7:25:43 AM3/27/13
to orx...@googlegroups.com
Hi !

I didn't test it for now, but it can be nice !

About ideas, maybe one, not sure there's an interrest :

Adding a filter like "display section only when time is up to XXX". So, maybe, we can see immediatly if there's a big problem. And this will skip all minor "times".

But, I'm not sure if this is a good idea ! ;)

Cheers.


2013/3/26 iarwain <iar...@orx-project.org>

--
You received this message because you are subscribed to the Google Groups "orx-dev" group.
To post to this group, send email to orx...@googlegroups.com.
Visit this group at http://groups.google.com/group/orx-dev?hl=en.
 
 

iarwain

unread,
Mar 27, 2013, 3:27:38 PM3/27/13
to orx...@googlegroups.com
Ah yep, filtering/alerts could be a nice feature. I'll keep that in mind.

Right now I added the history optional display in background of the profiler screen (off by default). Next task will be to add keys to control that screen.

Here's the list of interactions I foresee:

- pause/unpause profiler
- navigate through the history when paused (180 frames are stored for now)
- show/hide the history display as an histogram
- The histogram only displays unique markers (ie. those from the colored tree), and one depth level at a time, so keys to navigate through the different levels (up/down) would be nice too

Did I miss anything obvious?

Rom

iarwain

unread,
Apr 9, 2013, 4:55:22 AM4/9/13
to orx...@googlegroups.com
So we don't have filtering yet, but the history's in, as you can see below:


To use it, when the profiler is displayed, you have access to a few hotkeys:
- Scroll Lock: Displays/hides the profiler history
- Pause: pause/unpause the profiler (also works when the history isn't displayed)
- left/right arrows: navigate in time to select a desired frame (180 frames are stored in memory for now)
- up/down arrows: display different levels of depth in the graph

For the time navigation, a white line acts as the time cursor. All the displayed profiler data are from that frame.
This allows to more easily track very punctual peaks.
Example below.


Finally, the graph only displays one depth at a time. The displayed depth is shown by a small white rectangle in the top-left tree and by asterisks (*) in the textual tree on the left. Here's a screenshot displaying the second depth:


Lemme know if you have any questions/comments. =)

Cheers,

Rom

Gilles Zucchini

unread,
Apr 9, 2013, 5:05:22 AM4/9/13
to orx...@googlegroups.com
Hey !

I'll test that as soon as possible ! I will be back to use orx for my projects in a couple of days ^^

Thanks for the update !

Gilles.


2013/4/9 iarwain <iar...@orx-project.org>
Reply all
Reply to author
Forward
0 new messages