Research Article

Development of the Object-Oriented Dynamic Simulation Models Using Visual C++ Freeware

Table 1

The elapsed CPU time required for simulating the motion of an ensemble of particles in the thread function ThreadProc (no sleep time).
(a) Graphical output only

Number of particles110100100010000

CPU time, sec0.0160.0410.1221.12510.32

(b) Graphical output and text output to the modeless box

Number of particles110100200500

CPU time, sec0.0180.0440.1720.2620.634

(c) Graphical output and text output both to the modeless box and to the list box

Number of particles110100200500

CPU time, sec9.25534.19264.2513.31254