add take CPU time method

add .gitignore