nanotime-rs
===========
Simple function to get the system time in nanoseconds relative to an unspecified epoch. Pretty much the same functionality as Java's `System.nanoTime()`.
The code was simply copied from [rust-lang/time](https://github.com/rust-lang/time) and cleaned up to just provide the nano_time function with no unneccessary dependencies.
## Example
```rust
extern crate nano_time;
fn main() {
let start = nano_time::nano_time();
do_something();
let end = nano_time::nano_time();
println!("do_something() took {} nanoseconds.", (end-start));
}
```