1

I am profiling a C program using Mac's Shark which shows that some of CPU time goes to "blkclr" in "mach_kernel". What does this kernel function do? I speculate it is related to memory allocation, but I am not sure. I have googled for some time, but could not find the answer, either. Does someone know this? Thanks in advance.

user172818
  • 4,518
  • 1
  • 18
  • 20

1 Answers1

2

Zeroes out a block of memory

http://www.cs.cmu.edu/afs/cs.cmu.edu/project/mach/public/src/mkernel/src/kernel/mips/mips_mem_ops.c

Azeem.Butt
  • 5,855
  • 1
  • 26
  • 22
  • 1
    Thanks, NSD. This is exactly what I want. Actually I should try code search first before asking the question. – user172818 Apr 15 '10 at 21:31