Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

measure performance: fix increase default maximum limit of multistream.#38

Open
jamesiwan wants to merge 1 commit intointel:masterfrom
jamesiwan:fix_default_max_multistream
Open

measure performance: fix increase default maximum limit of multistream.#38
jamesiwan wants to merge 1 commit intointel:masterfrom
jamesiwan:fix_default_max_multistream

Conversation

@jamesiwan
Copy link

Signed-off-by: James Iwan james.iwan@intel.com

starting_streamnumber = str(ARGS.startStreams) if ARGS.startStreams else "all:1"
maximum_iteration = int(ARGS.numbers_of_iteration) if ARGS.numbers_of_iteration else 1
endStreams = int(ARGS.endStreams) if ARGS.endStreams else 99
endStreams = int(ARGS.endStreams) if ARGS.endStreams else 999999
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are setting the default in a wrong place (and for other options as well!). Instead you need to do that during option declarations. I.e.:

parser.add_argument('-e', '--endStreams', default=999999, help='To set ending number of multi stream performance measurement')

<...>

endStreams                      = ARGS.endStreams

Could you, please, rework options declarations in general taking above into account?

Signed-off-by: James Iwan <james.iwan@intel.com>
@jamesiwan jamesiwan force-pushed the fix_default_max_multistream branch from ae2665f to 7665c31 Compare October 9, 2020 18:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants