GetDisplayListCacheInfo
렌더링
설명
표시 목록 유지, 재사용, 메모리 압력 및 동시 캡처에 대한 JSON 보고서를 반환합니다
구문
Delphi
Function TPDFlib.GetDisplayListCacheInfo(Out Info: WideString): Integer;DLL
const wchar_t* DLGetDisplayListCacheInfo(int InstanceID);
const char* DLGetDisplayListCacheInfoA(int InstanceID);ActiveX
Function PDFlib::GetDisplayListCacheInfo(ByRef Info As String) As Long매개변수
| Info | enabled, entries, hits, misses, bytes, maxEntries, maxBytes, replayCost, evictions, bypasses, rejectedCaptures, buildContentions 필드를 받습니다 |
|---|
반환 값
| 1 | 보고서가 반환되었습니다 |
|---|
비고
bytes는 유지된 레코드, 동적 배열 및 문자열 페이로드의 보수적 추정값입니다
replayCost는 유지된 모든 목록을 다시 만들 때 피할 수 있는 토큰 및 피연산자 구문 분석 작업을 추정합니다
buildContentions는 다른 렌더러가 같은 소스를 계속 빌드 중이어서 부분 목록 재생을 막기 위해 개별적으로 구문 분석한 조회 수를 집계합니다