diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-22 20:17:54 +0000 |
---|---|---|
committer | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-30 14:29:51 +0200 |
commit | 9ab114b6a7e0723135555ed202886f47c032f511 (patch) | |
tree | 5bf42de63a6a0d579e32f861509a7cab6baef50b /main.h | |
parent | 24fa47890c0d180b807de8abb1a284755cba9c96 (diff) |
Add --clk-tck to set the clock unit
* main.c (argp_parser, main): Add and parse the --clk-tck option.
* main.h: Publish opt_clk_tck.
* process.c (sc_tc): Use the user-provided clock frequency.
* rootdir.c (rootdir_gc_stat): Likewise.
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -0,0 +1,2 @@ +/* Startup options */ +extern int opt_clk_tck; |