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

workflow-run: add resourceUsage #21

Merged
merged 3 commits into from
May 30, 2024

Conversation

simleo
Copy link
Contributor

@simleo simleo commented Mar 22, 2024

See ResearchObject/workflow-run-crate#10 for the background.

Example:

{
    "@id": "#28/7f2737",
    "@type": "CreateAction",
    "instrument": {"@id": "tutorial.nf#convertToUpper"},
    "resourceUsage": [
        {
            "@id": "#28/7f2737-realTime"
        },
        {
            "@id": "#28/7f2737-percentCPU"
        }
    ]
},
{
    "@id": "#28/7f2737-realTime",
    "@type": "PropertyValue",
    "name": "realTime",
    "propertyID": "https://w3id.org/ro/terms/nf-trace#realTime",
    "unitCode": "https://qudt.org/vocab/unit/MilliSEC",
    "value": "12"
},
{
    "@id": "#28/7f2737-percentCPU",
    "@type": "PropertyValue",
    "name": "percentCPU",
    "propertyID": "https://w3id.org/ro/terms/nf-trace#percentCPU",
    "value": "80.0"
}

@simleo simleo merged commit d0fb908 into ResearchObject:master May 30, 2024
@simleo simleo deleted the wfrun_resource_usage branch May 30, 2024 13:33
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.

1 participant