ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.pod
(Generate patch)

Comparing libecb/ecb.pod (file contents):
Revision 1.9 by root, Thu May 26 20:54:31 2011 UTC vs.
Revision 1.10 by root, Thu May 26 21:03:15 2011 UTC

179function can be used to implement C<ecb_assume> or similar functions. 179function can be used to implement C<ecb_assume> or similar functions.
180 180
181=item bool ecb_prefetch (addr, rw, locality) [MACRO] 181=item bool ecb_prefetch (addr, rw, locality) [MACRO]
182 182
183Tells the compiler to try to prefetch memory at the given C<addr>ess 183Tells the compiler to try to prefetch memory at the given C<addr>ess
184for either reading (c<rw> = 0) or writing (C<rw> = 1). A C<locality> of 184for either reading (C<rw> = 0) or writing (C<rw> = 1). A C<locality> of
185C<0> means that there will only be one access later, C<3> means that 185C<0> means that there will only be one access later, C<3> means that
186the data will likely be accessed very often, and values in between mean 186the data will likely be accessed very often, and values in between mean
187something... in between. The memory pointed to by the address does not 187something... in between. The memory pointed to by the address does not
188need to be accessible (it could be a null pointer for example), but C<rw> 188need to be accessible (it could be a null pointer for example), but C<rw>
189and C<locality> must be compile-time constants. 189and C<locality> must be compile-time constants.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines