X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=nfvbench%2Fnfvbench.py;h=ee4f6a5beab737549cc2f574ea39ddf62a4ae363;hb=77ad6af4cc10aece9fac24eef1a01c50979cb3d2;hp=9b8b3d14b6dc552eaf094f0c7ec9329c375ebcc3;hpb=94845d2bf7416d8b59e2eaf017244832cf3277f4;p=nfvbench.git diff --git a/nfvbench/nfvbench.py b/nfvbench/nfvbench.py index 9b8b3d1..ee4f6a5 100644 --- a/nfvbench/nfvbench.py +++ b/nfvbench/nfvbench.py @@ -551,6 +551,15 @@ def _parse_opts_from_cli(): default=False, help='Disable latency measurements (no streams)') + parser.add_argument('--debug-mask', dest='debug_mask', + type=int_arg, + metavar='', + action='store', + default='0x00000000', + help='General purpose register (debugging flags), ' + + 'the hexadecimal notation (0x...) is accepted.' + + 'Designed for development needs.') + opts, unknown_opts = parser.parse_known_args() return opts, unknown_opts