EmbLogic's Blog

Charecter Driver logfile

revision 1.33 locked by: sampath;
date: 2013/08/07 12:03:17; author: sampath; state: Exp; lines: +120 -12
Timers Implementation
calculted number of jiffies for char driver operation, used macro time_after to compare jiffie values
converted jiffies to seconds and nanoseconds using jiffies_to_timespec
calculated TSC(cycles since reset) using rdtscl and caculated number of cycles for the char drive operation, also tested using get_cycles
Implemented wallclock time using do_gettimeofday and time_to_tm, created a proc entry by name cureenttime
Implemented a /proc entry for incorporating delay using cpu_relax and schedule by names jitbusy and jitsched respectively
—————————-

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>