blob: 5d34d4ff23f360d79a6bdb0efef34d751130539d [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.