THPDFMappedFileStatistics Record
로드 중 memory-mapped file 소스가 수집한 설정·지오메트리·매핑·캐시·전송 텔레메트리를 보고합니다
선언
THPDFMappedFileStatistics= record
FileSize: Int64;
ConfiguredWindowSize: Int64;
ConfiguredCacheWindowCount: Integer;
WindowSize: Int64;
CacheWindowCount: Integer;
MappedByteLimit: Int64;
CurrentMappedBytes: Int64;
PeakMappedBytes: Int64;
GeometryChangeCount: Int64;
SequentialReadCalls: Int64;
RandomReadCalls: Int64;
AdaptiveGeometry: Boolean;
SequentialGeometryActive: Boolean;
RandomGeometryActive: Boolean;
ReadCalls: Int64;
BytesRead: Int64;
MapCount: Int64;
CacheHits: Int64;
FallbackReadCalls: Int64;
FallbackBytes: Int64;
DirectTransferCalls: Int64;
DirectTransferBytes: Int64;
end;
유닛
HPDFObjs
필드
| 필드 | 목적 |
|---|---|
FileSize | 매핑된 소스 파일 크기(바이트) |
ConfiguredWindowSize | LocalFileMappingWindowSize로 설정한 window 크기 |
ConfiguredCacheWindowCount | LocalFileMappingCacheWindows로 설정한 상주 window 수 |
WindowSize | 이 소스에 실제 적용 중인 window 크기 |
CacheWindowCount | 지금 window 캐시가 쥐고 있는 window 수 |
MappedByteLimit | 소스가 한 번에 매핑해 둘 수 있는 바이트 상한 |
CurrentMappedBytes | 현재 매핑된 바이트 |
PeakMappedBytes | 로드 전체에서 매핑 바이트의 최고 수위 |
GeometryChangeCount | 적응형 지오메트리가 window 배치를 바꾼 횟수 |
SequentialReadCalls | sequential로 분류된 읽기 요청 수 |
RandomReadCalls | 랜덤 액세스로 분류된 읽기 요청 수 |
AdaptiveGeometry | 소스에 적응형 지오메트리 선택이 켜져 있을 때 True |
SequentialGeometryActive | sequential window 지오메트리가 활성인 동안 True |
RandomGeometryActive | 랜덤 액세스 window 지오메트리가 활성인 동안 True |
ReadCalls | 매핑된 소스로 처리한 총 읽기 요청 수 |
BytesRead | 그 읽기들이 전달한 총 바이트 |
MapCount | 파일 view가 window로 매핑된 횟수 |
CacheHits | 이미 상주한 window로 충족된 읽기 수 |
FallbackReadCalls | window 캐시 밖의 일반 파일 읽기로 폴백한 읽기 수 |
FallbackBytes | 폴백 읽기가 전달한 바이트 |
DirectTransferCalls | window 캐시를 우회한 스트림 간 직접 전송 수 |
DirectTransferBytes | 직접 전송이 옮긴 바이트 |
사용 참고 사항
- 레코드는
THotPDF.GetLastMappedFileStatistics로 읽습니다. 이 함수는 마지막 로드에서 실제로 메모리 매핑을 사용한 경우에만 True를 반환합니다 - 로드 전에
LocalFileMappingWindowSize,LocalFileMappingCacheWindows,LocalFileMappingAdaptiveGeometry로 지오메트리를 조정합니다 SequentialGeometryActive와RandomGeometryActive는 현재 모드의 상호 배타적인 스냅샷입니다