Find Jobs
Hire Freelancers

Accurate usleep/nanosleep timer

$30-150 USD

In Progress
Posted over 14 years ago

$30-150 USD

Paid on delivery
I am working on a project that requires a semi accurate usleep/nanosleep timer implementation. My project is in the works so I cannot disclose it's nature or operation, however it's going to more than likely just use either nanosleep/usleep with decent precision. Most of all Linux/*BSD systems provide at least 1ms timers, however they give significant jitter (around 2000us) I require a timer that either uses something like this: - RDTSC based {nano,u}sleep timer (is this possible?) - HPET based {nano,u}sleep timers (is this possible?) - Some other way to get accurate time, ie: wrapping gettimeofday into a function? - Any other methods? This code will more than likely be rolled into either kernel or userland depending on the coders needs/desires. However, I do intend on it going into at least libc (replace the usleep function, as that is what we use, and usleep calls nanosleep) ## Deliverables If possible, please provide some sort of benchmark tool so I can see how accurate it really is. I know this depends on the OS etc, however I'm pretty sure we can get really accurate timing without any issues.
Project ID: 2802714

About the project

2 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$127.50 USD in 10 days
4.6 (7 reviews)
4.8
4.8
2 freelancers are bidding on average $106 USD for this job
User Avatar
See private message.
$85 USD in 10 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
9
Member since Feb 1, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.