Platforms to show: All Mac Windows Linux Cross-Platform

Back to DarwinTaskInfoMBS class.

DarwinTaskInfoMBS.ContextSwitches as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Number of context switches.
Example
dim d as new DarwinTaskInfoMBS
MsgBox str(d.ContextSwitches)

(Read and Write property)

DarwinTaskInfoMBS.COWFaults as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Number of copy-on-write faults.
Example
dim d as new DarwinTaskInfoMBS
MsgBox str(d.COWFaults)

(Read and Write property)

DarwinTaskInfoMBS.Faults as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Number of page faults.
Example
dim d as new DarwinTaskInfoMBS
MsgBox str(d.Faults)

(Read and Write property)

DarwinTaskInfoMBS.MessagesReceived as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Number of messages received.
Example
dim d as new DarwinTaskInfoMBS
MsgBox str(d.MessagesReceived)

(Read and Write property)

DarwinTaskInfoMBS.MessagesSent as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Number of messages sent.
Example
dim d as new DarwinTaskInfoMBS
MsgBox str(d.MessagesSent)

(Read and Write property)

DarwinTaskInfoMBS.PageIns as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Number of actual pageins.
Example
dim d as new DarwinTaskInfoMBS
MsgBox str(d.PageIns)

(Read and Write property)

DarwinTaskInfoMBS.ResidentSize as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Number of resident pages.
Example
dim d as DarwinTaskInfoMBS

d=new DarwinTaskInfoMBS
MsgBox "This application uses "+Format(d.ResidentSize,"0")+" Bytes of physical memory."

(Read and Write property)

Some examples using this property:

DarwinTaskInfoMBS.SuspendCount as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Suspend count for task.
Example
dim d as new DarwinTaskInfoMBS
MsgBox str(d.SuspendCount)

(Read and Write property)

DarwinTaskInfoMBS.SystemCallsMach as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Number of mach system calls.
Example
dim d as DarwinTaskInfoMBS

d=new DarwinTaskInfoMBS

MsgBox "This application has done so far "+Format(d.SystemCallsMach,"0")+" system calls using the Mach Interface."

(Read and Write property)

DarwinTaskInfoMBS.SystemCallsUnix as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Number of unix system calls.
Example
dim d as DarwinTaskInfoMBS

d=new DarwinTaskInfoMBS

MsgBox "This application has done so far "+Format(d.SystemCallsUnix,"0")+" system calls using the Unix Interface."

(Read and Write property)

DarwinTaskInfoMBS.SystemTime as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Total system run time.
Example
dim d as DarwinTaskInfoMBS

d=new DarwinTaskInfoMBS

MsgBox "This application has used so far "+Format(d.SystemTime,"0")+" seconds of CPU time."

(Read and Write property)

DarwinTaskInfoMBS.UserTime as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Total user run time.
Example
dim d as DarwinTaskInfoMBS

d=new DarwinTaskInfoMBS

MsgBox "This application has used so far "+Format(d.UserTime,"0")+" seconds of CPU time."

(Read and Write property)

DarwinTaskInfoMBS.VirtualSize as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 5.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Number of virtual pages.
Example
dim d as DarwinTaskInfoMBS

d=new DarwinTaskInfoMBS
MsgBox "This application uses "+Format(d.VirtualSize,"0")+" Bytes of the 4 GB address space."

(Read and Write property)

Some examples using this property:

The items on this page are in the following plugins: MBS MacCF Plugin.


The biggest plugin in space...