Saturday, January 8, 2011

imp

function overloading:
for function overloading the name of method should be same but number of parameters and/or there data types should be different. Return types of function doesn't matter in function overloading.


An array cannot be declared with 0 elemets. int a[0] is illegal but heard is used in some header files to generate a compilation error under some compilations


wmb is Write Memory Barrier.
Write Memory Barrier guarantees that all previous store instructions access memory before any store instructions issued after the wmb instruction.



increasing stripe size will improve throughput, however will decrease latency. Depending on type of data stored, stripe size should be determined. For large chunk of data accessed at a time, use large stripe, otherwise use small stripe size

No comments:

Post a Comment