C code snippet to measure function execution time for both Linux and Mac OS X

In this article we’ll see how to write a simple yet effective code in C language to measure the time required to process a function. This code has been written to be  compiled without changes on both Linux-GCC and Mac OS X GCC compiler.

Continue reading

Quick How To check which processor is installed on my Apple Mac!

This short how-to describes how to check which CPU is installed on a Mac Pro, iMac, MacBook Pro and MacBook Air and the new MacBook.

Continue reading

System Calls (Part I)

Syscalls are the way a Software Application Program can interact with the underlining Operating System, everything from displaying a character on the screen to reading a file from the harddrive will generate syscalls. In this post we’ll analyse syscalls in details with examples on different CPU architectures and Operating Systems.

Continue reading