blob: 05339f1a3ffd8855c1815eb808749d9fda7da6dd [file] [log] [blame]
description: >
This interface helps users to record the self measured duration.
methods:
- name: SetDuration
description: >
Store any durations that is related to this reboot.
parameters:
- name: DurationName
type: string
default: ""
description: >
Duration name for this moment.
- name: Duration
type: int64
default: 0
description: >
Duration in second.
errors:
- xyz.openbmc_project.Common.Error.InvalidArgument
- name: GetAdditionalDurations
description: >
Get all the additional durations.
returns:
- name: durationsList
type: array[struct[string, int64]]
description: >
A list of additional durations.