Prev: Mcc
Next: How can I check CPU usage in F28335
From: shamasundar naik on 13 Oct 2009 04:08 Hi, How can I find XPC target information like memory usage, threads running, CPU load... etc. Typically in Linux I use 'top' command for this. regards -sham
From: Arnaud Miege on 13 Oct 2009 08:00 "shamasundar naik" <shamasundar.naik(a)tno.nl> wrote in message news:hb1ch3$16r$1(a)fred.mathworks.com... > Hi, > > How can I find XPC target information like memory usage, threads running, > CPU load... etc. Typically in Linux I use 'top' command for this. > > regards > -sham > Use the target object: http://www.mathworks.com/access/helpdesk/help/toolbox/xpc/ug/f9-36771.html You can't access the sort of properties you are after though (as far as I know). You can also use functions like getxpcenv and getxpcinfo (see the doc for how to use those). HTH, Arnaud PS: here's an example of a target object >> tg = xpc xPC Object Connected = Yes Application = xpcosc Mode = Real-Time Single-Tasking Status = stopped CPUOverload = none ExecTime = 0.0000 SessionTime = 411.6722 StopTime = 0.200000 SampleTime = 0.000250 AvgTET = NaN MinTET = 9999999.000000 MaxTET = 0.000000 ViewMode = 0 TimeLog = Vector(0) StateLog = Matrix (0 x 2) OutputLog = Matrix (0 x 2) TETLog = Vector(0) MaxLogSamples = 16666 NumLogWraps = 0 LogMode = Normal Scopes = No Scopes defined NumSignals = 7 ShowSignals = off NumParameters = 7 ShowParameters = off
From: shamasundar naik on 26 Oct 2009 07:03 Thanks. This answers my question. -Sham "Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <hb1q52$e84$1(a)fred.mathworks.com>... > > "shamasundar naik" <shamasundar.naik(a)tno.nl> wrote in message > news:hb1ch3$16r$1(a)fred.mathworks.com... > > Hi, > > > > How can I find XPC target information like memory usage, threads running, > > CPU load... etc. Typically in Linux I use 'top' command for this. > > > > regards > > -sham > > > > Use the target object: > http://www.mathworks.com/access/helpdesk/help/toolbox/xpc/ug/f9-36771.html > > You can't access the sort of properties you are after though (as far as I > know). You can also use functions like getxpcenv and getxpcinfo (see the doc > for how to use those). > > HTH, > > Arnaud > > PS: here's an example of a target object > > >> tg = xpc > > xPC Object > > Connected = Yes > Application = xpcosc > Mode = Real-Time Single-Tasking > Status = stopped > CPUOverload = none > > ExecTime = 0.0000 > SessionTime = 411.6722 > StopTime = 0.200000 > SampleTime = 0.000250 > AvgTET = NaN > MinTET = 9999999.000000 > MaxTET = 0.000000 > ViewMode = 0 > > TimeLog = Vector(0) > StateLog = Matrix (0 x 2) > OutputLog = Matrix (0 x 2) > TETLog = Vector(0) > MaxLogSamples = 16666 > NumLogWraps = 0 > LogMode = Normal > > Scopes = No Scopes defined > NumSignals = 7 > ShowSignals = off > > NumParameters = 7 > ShowParameters = off >
|
Pages: 1 Prev: Mcc Next: How can I check CPU usage in F28335 |