Logo by Alkaron (anonymous IP: 3.138.125.86,2258) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4399 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
# glSnoop An experimental graphics API tracing tool for AmigaOS 4 ## Tracing support glSnoop supports logging of: - ogles2.library 3.3 - Warp3DNova.library 54.16 These are the current public and recommended library versions to use. Pausing stops the serial logging of functions until resumed. ## Profiling glSnoop records the call count and duration of known OpenGL ES 2.0 and Warp3D Nova functions. Profiling summaries are logged when contexts are being destroyed, or when user finishes profiling manually using the GUI. Re-starting profiling clears the current statistics. Time spent inside OpenGL ES 2.0 functions includes also time spent inside Warp3D Nova functions. ## Filtering Filtering can be used to patch only a subset of OGLES2/NOVA functions. This produces less logs and is faster. Filtering impacts also profiling, because non-patched functions cannot be profiled either. ## Command-line parameters - OGLES2: enable ogles2.library tracing and profiling - NOVA: enable Warp3DNova.library tracing and profiling - GUI: launch the graphical user interface - PROFILE: disable function tracing in serial logs but keep profiling stats - FILTER filename: define a subset of patched functions - STARTTIME time: set a time in seconds for profiler start - DURATION time: set a profiling time in seconds Example 1) glSnoop PROFILE STARTTIME 5 DURATION 10 - profile only - initialize counters 5 seconds after context creation - profile for 10 seconds ## Tips glSnoop uses serial port for logging. To redirect logs to a file (for speed), one may use the Sashimi tool: Sashimi > RAM:MyLogFile.txt Download Sashimi: http://os4depot.net/index.php?function=showfile&file=development/debug/sashimi.l ha ## License PUBLIC DOMAIN ## Thanks - kas1e for ideas, testing and AmigaGuide document - Mason for icons - samo79 for ideas - Hans for ideas - jabirulo for ideas - Daniel for ideas |
Copyright © 2004-2024 by Björn Hagström All Rights Reserved |