PictureEffects REALbasic Plugin

PictureEffectsCPUUsage Module

Constants to control CPU usage for some effects.

module PictureEffectsCPUUsage

Constants

MACHINE_CORE_COUNT = -1Uses exactly the number of available CPU cores in the machine. (Available here means on-line CPU cores, some laptops can put CPU cores off line in low battery situations)

Note: On Linux systems then only one CPU core at most is currently used.
AUTOMATIC = 0Takes into account number of available CPU cores on the Machine and also tries to select the fastest way based on developer rating for each algorithm and picture size. (In simple algorithms then the fastest path is sometimes 2 or 3 CPU cores and not 4 CPU cores because of the overhead of managing multiple cores). In more complex algorithms then 3 or 4 cores are almost always faster than 2 cores.

Note: On Linux systems then only one CPU core at most is currently used.
USE_1_CORE = 1Uses one CPU core.
USE_2_CORES = 2Uses two CPU cores.

This setting will also work on machines with less than two CPU cores, but it will be slower or best case same speed as using the correct setting for such machine.

Note: On Linux systems then only one CPU core at most is currently used.
USE_3_CORES = 3Uses three CPU cores.

This setting will also work on machines with less than three CPU cores, but it will be slower or best case same speed as using the correct setting for such machine.

Note: On Linux systems then only one CPU core at most is currently used.
USE_4_CORES = 4Uses four CPU cores.

This setting will also work on machines with less than four CPU cores, but it will be slower or best case same speed as using the correct setting for such machine.

Note: On Linux systems then only one CPU core at most is currently used.