[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Is there a way to obtain a machine's cache line size?
> I see there is a compile time constant CACHE_LINE_SIZE in
> <sys/param.h> which currently seems to be always be set to 64, but
> I'm pretty certain that is not necessarily a correct value.
You are correct; to cite the one example I currently have swapped into
my brain, the Super-H used in the Dreamcast has 32-byte cache lines
(true of the I-cache and D-cache both).
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Main Index |
Thread Index |