Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom rtapp support - now supports multiple styles of links #182

Closed
wants to merge 2 commits into from

Conversation

credp
Copy link
Contributor

@credp credp commented Sep 19, 2016

I wanted to be able to pass a dictionary in with the configuration, and also to reference a file.

kind='custom',
duration=-1,
params={
'custom_config'= { ...my description of the rt-app job... }
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe you already considered that, isn't possible to avoid introducing a nested dictionary and just check the value of params?

if ininstace(self.params['custom'], str):
    # we have the filename for a JSON configuraiton
elif ininstace(self.params['custom'], dict):
    # we have an embedded dictionary-cased configuration
else:
    raise ValueError("params can be only a filename or an embedded dictionary")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, this is possible. I can change this and push an update :)

@derkling derkling added this to the 16.10 milestone Sep 23, 2016
Allow custom workloads to be defined with a filename or by supplying the
configuration directly.

Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Create a simulated 'performance benchmark application' using RTA which
has one controller thread which triggers a configurable amount of
worker threads for a configurable amount of time.

This is similar to what applications like geekbench look like during their
benchmark phases.

Signed-off-by: Chris Redpath <chris.redpath@arm.com>
@valschneider
Copy link
Contributor

@credp Could we revive this or is it no longer relevant ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants