Measuring Time Lapses The counter and the utility functions to read it live in <linux/jiffies.h>.Needless to say both jiffies and jiffies_64 must be considered read-only. Processor-Specific Registers #include <asm/msr.h> rdtsc(low32,high32); r…
第8章 流水线 本章描述了TMS320C54x DSP流水线的操作,列出了对不同寄存器操作时的流水线延迟周期.(对应英语原文第7章) 8.1 流水线操作 TMS320C54x DSP有一个6段的指令流水线.流水线的6个段彼此独立,允许指纹重叠执行.在任意给定的周期内,可以有1~6条指纹被激活,每一条指纹处于不同的白执行阶段. 流水线的6个段以及它们的功能分别是: Program prefetch. Program address bus (PAB) is loaded with the addr…