[med-svn] [SCM] aghermann branch, master, updated. 3603e7ef1289f9ec79a3eb415b6d141166e9498a
Andrei Zavada
johnhommer at gmail.com
Sun Jul 14 22:28:26 UTC 2013
The following commit has been merged in the master branch:
commit 61c1ea3c8428674a79eee2db6b3edf18181017cd
Author: Andrei Zavada <johnhommer at gmail.com>
Date: Mon Jul 15 01:25:02 2013 +0300
remove --samplerate option from agh-profile-gen
diff --git a/src/tools/agh-profile-gen.cc b/src/tools/agh-profile-gen.cc
index 2f7fb89..58e6144 100644
--- a/src/tools/agh-profile-gen.cc
+++ b/src/tools/agh-profile-gen.cc
@@ -49,7 +49,6 @@ enum TOptChar : char {
o_profile = 't',
o_page = 'p',
o_step = 'i',
- o_samplearte = 's',
o_psd_params = 'P',
o_mc_params = 'M',
o_swu_params = 'S',
@@ -61,7 +60,6 @@ static struct argp_option options[] = {
{"profile", o_profile, "pms", 0, "profile(s) to generate (p=PSD, m=MC, s=SWU)"},
{"page", o_page, "PAGESIZE", 0, "page size (sec)" },
{"step", o_step, "STEP", 0, "step (sec)" },
- {"samplerate", o_samplearte, "SAMPLERATE", 0, "samplerate (1/sec)" },
{"psd-params", o_psd_params, "BINSIZE", 0, "PSD: binsize (sec, one of .1, .25, .5)" },
{"mc-params", o_mc_params, "SCOPE:F0FC:BANDWIDTH:IIR_BACKPOLATE:GAIN:SMOOTH",
0, "MC parameters" },
@@ -95,8 +93,6 @@ struct SArguments {
metrics::mc ::SPPack mc_pp;
metrics::swu::SPPack swu_pp;
- size_t samplerate;
-
SArguments()
: h (-1),
pagesize (NAN),
@@ -128,10 +124,6 @@ parse_opt( int key, char *arg, struct argp_state *state)
Q.step = atof( arg);
break;
- case TOptChar::o_samplearte:
- Q.samplerate = atof( arg);
- break;
-
case TOptChar::o_channel:
Q.h = atoi( arg);
break;
--
Sleep experiment manager
More information about the debian-med-commit
mailing list