Silverlight for Windows Embedded Performance Tool: XRMon

The XRMon tool is a stand-alone executable binary you can use to collect performance information in Silverlight for Windows Embedded. Using this tool can help you analyze and diagnose performance problems in your code.

C++ (601.5 KB)
4.5 Star
2,046 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

    1 Posts | Last post October 12, 2017
  • xrmon -?
    3 Posts | Last post September 23, 2011
    • Should I be able to see a list of Log Options with this? Again, running from the device command prompt.
    • No. XRMon will not display the log options on console only via debug output.
      Here is the log option. There is a limit of maximum 2000 characters so I can't display them all.
      [XRMon] ------------------------------------------------------------------------------------------------
      [XRMon] XRMon.exe : XamlRuntime Monitor
      [XRMon] -?                    | This Help Screen
      [XRMon] -AlwaysOnTop          | Flag - Make Window Topmost
      [XRMon] -Args                 | Arguments for the process.
      [XRMon] -CmdLineDump          | Show values processed by command line manager.
      [XRMon] -DurationFlags        | Duration Flags
      [XRMon] -EnableScenario       | 
      [XRMon] -EnableSession        | Enable CePerf Counter Session.
      [XRMon] -Exit                 | Exit NOW without running UI
      [XRMon] -Front                | Bring an already running app screen to the front
      [XRMon] -h                    | This Help Screen
      [XRMon] -Help                 | This Help Screen
      [XRMon] -Kill                 | Terminate an existing running instance of this application
      [XRMon] -LogCrit              | Flag - Enable CeLog Critical Section Tracking.
      [XRMon] -LogDebug             | Flag - Enable CeLog OutputDebugString Tracking.
      [XRMon] -LogFlushFile         | Default=\release\xrmon.clg
      [XRMon] -LogFlushInterval     | Millisconds between log flushes, default=10000
      [XRMon] -LogGDI               | Flag - Enable CeLog GDI Tracking.
      [XRMon] -LogGWES              | Flag - Enable CeLog GWES Tracking.
      [XRMon] -LogHeap              | Flag - Enable CeLog Heap Tracking.
      [XRMon] -LogMEM               | Flag - Enable CeLog Memory Tracking.
      [XRMon] -LogProcess           | Flag - Enable CeLog Process Tracking.
      [XRMon] -LogThread            | Flag - Enable Celog Thread Tracking.
      [XRMon] -Position             | 0 = Top Left, 1=Top Right, 2=Bottom Left, 3=Bottom Right (default=0)
      [XRMon] -Process              | Name of process to profile.
    • here is the rest of it.
      [XRMon] -StartDuration        | 
      [XRMon] -StatisticFlags       | Statistic Flags
      [XRMon] -WaitTime             | Wait for application to exit.  Default=INFINITE(-1))
      [XRMon] CESimpApp : Arguments for the Simple UI
      [XRMon] -uiColorBK            | Background COLORREF
      [XRMon] -uiColorBL            | Bold COLORREF
      [XRMon] -uiColorER            | Error COLORREF
      [XRMon] -uiColorOK            | OK COLORREF
      [XRMon] -uiColorTX            | Text COLORREF
      [XRMon] -uiColorWN            | Warning COLORREF
      [XRMon] -uiEndDelay           | Milliseconds to Delay requested termination (default=5000)
      [XRMon] -uiFontSize           | Size of Font (default=14)
      [XRMon] -uiFullScreen         | Takeup the entire screen (default=false)
      [XRMon] -uiH                  | H height of window (default=SM_CYSCREEN)
      [XRMon] -uiShow               | Show the simple UI (default=true)
      [XRMon] -uiSingleton          | Allow only single instance to run (default=true)
      [XRMon] -uiW                  | W width of window (default=SM_CXSCREEN)
      [XRMon] -uiX                  | X coordinate for window (default=0)
      [XRMon] -uiY                  | Y coordinate for window (default=0)
      [XRMon] --------------------------------------------
  • Is it possible to XRMon from the device command line?
    2 Posts | Last post September 22, 2011
    • If I do not have CESH service running on the device and cannot use Target->Target Control to open a windows CE command prompt, should I be able to use xrmon from the device using a regular command prompt.
      Currently I have copied XRMon, TTL.xrmon, and my silverlight app to the \ directory.
      Running xrmon -Process=<app without extension> @\ttl.xrmon results in a XamlRuntime Monitor appearing (as a black screen) which remains until I kill it.
      The application does not start and I cannot see any logs created.
      CEPerf and CELog has been enabled in the OS with Flush tracked events to release directory.
      What is classed as the release directory - root?
    • Hi, you can run xrmon from the command line as well. In this case, you can change the default log file location using LogFlushFile argument.
      xrmon LogFlushFile=\xrmon.clg