A method for providing optimal performance in an electronic device comprises
at
least one resource characterization that includes resource requirements for executing
a requested process. An allocation manager may then compare the resource requirements
for the requested process to the currently-available device resources. The allocation
manager may then authorize or deny the requested process depending upon whether
the currently-available resources are sufficient to adequately service the resource
requirements of the requested process.