> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XtfGetSystemUpTime

> XtfGetSystemUpTime

# XtfGetSystemUpTime

System OS와 Game OS가 실행된 시간을 밀리초 단위로 가져옵니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
HRESULT XtfGetSystemUpTime(
         PWCSTR address,
         UINT64* systemUpTimeSystem,
         UINT64* systemUpTimeTitle
)  
```

<a id="parametersSection" />

### 매개 변수

*address*\
형식: PWCSTR

\[in] 콘솔의 주소입니다.

*systemUpTimeSystem*\
형식: UINT64\*

\[out, optional] System OS가 실행된 시간(밀리초 단위)입니다. 이 값이 필요하지 않으면 `nullptr`로 설정하세요.

*systemUpTimeTitle*\
형식: UINT64\*

\[out, optional] Game OS가 실행된 시간(밀리초 단위)입니다. 이 값이 필요하지 않으면 `nullptr`로 설정하세요.

<a id="retvalSection" />

### 반환값

형식: HRESULT

성공하면 `S_OK`를 반환합니다. 그렇지 않으면 HRESULT 오류 코드를 반환합니다.

<a id="remarksSection" />

## 설명

이 함수는 System OS와 Game OS가 실행된 시간을 반환합니다.
System OS의 경우 이 값은 콘솔이 부팅된 이후 경과된 시간(밀리초 단위)입니다. Game OS의 경우 게임이 실행된 이후 경과된 시간(밀리초 단위)입니다. System OS와 Game OS에 대한 자세한 소개는 [What is the Microsoft Game Development Kit? (NDA topic)](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/intro/introduction)을 참조하세요.

<a id="requirementsSection" />

## 요구 사항

**헤더:** xtfapi.h

**라이브러리:** XtfApi.lib

**지원 플랫폼:** Windows(XBOX 콘솔 도구용)

<a id="seealsoSection" />

## 참고 항목

[XTF Transport Errors (NDA topic)](/tools/tools-console/commandlinetools/xtf-transport-errors)\
[Additional Xtf APIs](/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

- [IXtfConsoleControlClient::GetSystemTime](/ko/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_getsystemtime.md)
- [XTFSYSTEMTIME](/ko/reference/tools/xtf/xtfconsolecontrol/structs/xtfsystemtime.md)
- [IXtfConsoleControlClient](/ko/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/ixtfconsolecontrolclient.md)
- [XtfGetConsoleFieldValue](/ko/reference/tools/xtf/xtfapi/functions/xtfgetconsolefieldvalue-xbox-microsoft-m.md)
- [XtfDebugStringCallback](/ko/reference/tools/xtf/xtfapi/functions/xtfdebugstringcallback-xtfapi-xbox-windows-m.md)
