• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • System Task Manager SDK Reference  5.10
    All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
    stm_manager.h
    Go to the documentation of this file.
    1/*
    2 * Copyright (c) 2019-2022 NVIDIA CORPORATION. All Rights Reserved.
    3 *
    4 * NVIDIA CORPORATION and its licensors retain all intellectual property
    5 * and proprietary rights in and to this software, related documentation
    6 * and any modifications thereto. Any use, reproduction, disclosure or
    7 * distribution of this software and related documentation without an express
    8 * license agreement from NVIDIA CORPORATION is strictly prohibited.
    9 *
    10 */
    11
    31#ifndef STM_MANAGER_H_
    32#define STM_MANAGER_H_
    33
    34#if __GNUC__ >= 4
    35#define STM_API __attribute__((visibility("default")))
    36#endif
    37
    38#include <stdint.h>
    39#include "stm_error.h"
    40
    41#ifdef __cplusplus
    42extern "C" {
    43#endif
    44
    56STM_API stmErrorCode_t stmScheduleManagerInit(const char* scheduleManagerName);
    57
    73STM_API stmErrorCode_t stmScheduleManagerInitWithDiscriminator(const char* scheduleManagerName, int32_t discriminator);
    83
    94STM_API stmErrorCode_t stmStartSchedule(uint16_t scheduleId);
    95
    106STM_API stmErrorCode_t stmStopSchedule(uint16_t scheduleId);
    107
    108#ifdef __cplusplus
    109}
    110#endif
    111
    112#endif //STM_MANAGER_H_
    Return/error codes for all STM functions.
    stmErrorCode_t
    Return/error codes for all STM functions.
    Definition: stm_error.h:47
    STM_API stmErrorCode_t stmStartSchedule(uint16_t scheduleId)
    Schedule Management API for starting Schedule Execution.
    STM_API stmErrorCode_t stmScheduleManagerExit(void)
    Cleans up STM schedule Manager context. No STM APIs can be called after this.
    STM_API stmErrorCode_t stmStopSchedule(uint16_t scheduleId)
    Schedule Management API for stopping Schedule Execution.
    STM_API stmErrorCode_t stmScheduleManagerInit(const char *scheduleManagerName)
    Initialize STM schedule manager context.
    STM_API stmErrorCode_t stmScheduleManagerInitWithDiscriminator(const char *scheduleManagerName, int32_t discriminator)
    Initialize STM schedule manager context with a discriminator.
    人人超碰97caoporen国产