Resource usage¶
Memory¶
Table 1 lists the memory requirements for the
lib_voice DSP components. The estimates are provided as a guideline to help
audio pipeline developers assess the memory cost of including a component in
the pipeline.
Note
The IC memory usage includes VNR memory usage as well, since VNR processing is part of IC. Stand-alone VNR memory usage is also computed, as shown in the VNR row of the table.
Component |
Memory use (bytes) |
|---|---|
ADEC |
8160 |
AEC_ALT_ARCH |
240400 |
AEC_STD_ARCH |
277808 |
AGC |
9472 |
IC |
136200 |
NS |
35192 |
VNR |
59704 |
CPU¶
Table 2 lists the approximate CPU requirements in MIPS
for the lib_voice DSP components. The MIPS values are computed as the
worst-case processor cycles consumed by the component’s process_frame
function. All CPU estimates are based on the default configuration for each
feature. Alternate configurations may require more or less MIPS.
These estimates are provided as a guideline to help audio pipeline developers assess the CPU cost of including a component in the pipeline.
Note
The IC MIPS numbers include VNR processing that is part of IC. Stand-alone VNR processing numbers are also computed, as shown in the VNR row of the table.
Component |
MIPS use |
|---|---|
ADEC |
1.38 |
AEC_ALT_ARCH_1THREAD |
42.42 |
AEC_ALT_ARCH_2THREADS |
30.57 |
AEC_STD_ARCH_1THREAD |
62.7 |
AEC_STD_ARCH_2THREADS |
40.74 |
AGC |
6.19 |
IC |
13.05 |
NS |
6.15 |
VNR |
1.76 |