A Crash Course in Calendars, Dates, Time, and Time ZonesClocks Time Points Dates Time Zones4 Agenda Compile-Time Rational Numbers Durations Clocks Time Points Dates Time Zones5 Compile-Time Rational Numbers Defined 1>;9 Agenda Compile-Time Rational Numbers Durations Clocks Time Points Dates Time Zones10 Durations Interval between two points in time Represented by std::duration from 519 Agenda Compile-Time Rational Numbers Durations Clocks Time Points Dates Time Zones20 Clocks Several clocks available in : std::system_clock: wall clock time from system-wide 0 码力 | 43 页 | 551.60 KB | 6 月前3
C++20's 12 C++20’sCalendars and Time Zones in MSVC Miya Natsuhara ("MEE-yuh Not-soo-HAR-uh") Miya.Natsuhara@microsoft.com Software Engineer, Visual C++ LibrariesWelcome to CppCon 2021! Join IV: Leap Seconds • What are leap seconds? • How did we implement them in MSVC? • Part V: Time Zones • Overview of [time.zone] • IANA database challenges • Part VI: Conclusion7 Part I: Development time with respect to a not-yet- specified time zone • More to come on this when we get to time zones and related matters soon!24 clock_cast clock_cast allows you to convert a time_point for one clock 0 码力 | 55 页 | 8.67 MB | 6 月前3
Tracy: A Profiler You Don't Want to Miss... ZoneNamedN(cleanzone, “cleanup”, true); ... } • ZoneNamed[N|C] • have multiple zones in the same scope • each “zone identifier” must be unique in that scope • creates a zone stack, not have multiple names • will show up in statistics! • increased runtime cost to record zone Transient zones may be necessary when instrumenting a module that can be loaded and unloaded throughout the lifecycle manipulations, … file, network, logging, … interrupts, user input activity, spurious wake-ups, … 47 Color zones appropriately Tips & Tricks• Idling • Waits • Sleeps • Lock acquisition (contention) • Memory operations0 码力 | 84 页 | 8.70 MB | 6 月前3
Tracy: A Profiler You Don't Want to Miss... ZoneNamedN(cleanzone, “cleanup”, true); ... } • ZoneNamed[N|C] • have multiple zones in the same scope • each “zone identifier” must be unique in that scope • creates a zone stack, not have multiple names • will show up in statistics! • increased runtime cost to record zone Transient zones may be necessary when instrumenting a module that can be loaded and unloaded throughout the lifecycle manipulations, … file, network, logging, … interrupts, user input activity, spurious wake-ups, … 47 Color zones appropriately Tips & Tricks• Idling • Waits • Sleeps • Lock acquisition (contention) • Memory operations0 码力 | 85 页 | 6.51 MB | 6 月前3
2020: The Year of Sanitizers?@ciura_victor - 2020: The Year of Sanitizers? Shadow Mapping Process Memory Shadow Memory 👈 Red zones my allocated memory ➡ 🧪☣ Poisoned memory84 2020 Victor Ciura | @ciura_victor - 2020: The ShadowByte(p)89 2020 Victor Ciura | @ciura_victor - 2020: The Year of Sanitizers? Heap Red Zones alloc 1 alloc 2 alloc 3 alloc 4 alloc 5 alloc 1 alloc 2 alloc 3 alloc 4 alloc 5 malloc() ASAN ASAN malloc()90 2020 Victor Ciura | @ciura_victor - 2020: The Year of Sanitizers? Heap Red Zones alloc 1 alloc 2 alloc 3 alloc 4 alloc 5 ASAN malloc() alloc 1 alloc 2 alloc 3 alloc 4 alloc 5 Shadow0 码力 | 135 页 | 27.77 MB | 6 月前3
whats new in visual studioCode debugging Demo C++20 in action Thu, Oct 28 – 10:30am C++20’sCalendars and Time Zones in MSVC Miya Natsuhara – `Online _4 Tue, Oct 26 – 10:30am Documentation in The Era of Concepts WSL 2, and more – Sy Brand & Marian Luparu Thursday 28th • C++20’s Calendars and Time Zones in MSVC – Miya Natsuhara • An Editor Can Do That? Debugging Assembly Language and GPU Kernels in 0 码力 | 42 页 | 19.02 MB | 6 月前3
Oracle VM VirtualBox 5.2.40 User ManualVirtualBox CoreDumper on Solaris hosts . . . . . . . . . . . . . 217 9.19 VirtualBox and Solaris kernel zones . . . . . . . . . . . . . . . . . . . . . . . . . 218 9.20 Locking down the VirtualBox GUI . . . global zone as the VirtualBox installer loads kernel drivers which cannot be done from non-global zones. To verify which zone you are currently in, execute the zonename command. Execute the following commands: VirtualBox would be installed in /opt/VirtualBox. Note: If you need to use VirtualBox from non-global zones, please read chapter 2.4.6, Configuring a zone for running VirtualBox, page 45. 44 2 Installation0 码力 | 387 页 | 4.27 MB | 6 月前3
Oracle VM VirtualBox 5.2.12 User ManualVirtualBox CoreDumper on Solaris hosts . . . . . . . . . . . . . 216 9.19 VirtualBox and Solaris kernel zones . . . . . . . . . . . . . . . . . . . . . . . . . 217 9.20 Locking down the VirtualBox GUI . . . global zone as the VirtualBox installer loads kernel drivers which cannot be done from non-global zones. To verify which zone you are currently in, execute the zonename command. Execute the following commands: VirtualBox would be installed in /opt/VirtualBox. Note: If you need to use VirtualBox from non-global zones, please read chapter 2.4.6, Configuring a zone for running VirtualBox, page 45. 44 2 Installation0 码力 | 380 页 | 4.23 MB | 6 月前3
TiDB v8.5 Documentation· · · · · 1202 7.7.8 How to understand the relationship between the TiCDC time zone and the time zones of the upstream/downstream databases? · · · · · · · · · · · · · 1202 7.7.9 What is the default behavior · · · · · · · · · · · · · · · · · · · · · · · 2159 12 Tutorials 2236 12.1 Multiple Availability Zones in One Region Deployment · · · · · · · · · · · · · · · · · · · · 2236 12.1.1 Raft protocol · · · deployment· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 2237 12.2 Three Availability Zones in Two Regions Deployment · · · · · · · · · · · · · · · · · · · · · 2243 12.2.1 Overview · · · ·0 码力 | 6730 页 | 111.36 MB | 10 月前3
TiDB v8.2 Documentation· · · · · · · · · · · · · · · · · · · · · · · 1736 12 Tutorials 1812 12.1 Multiple Availability Zones in One Region Deployment · · · · · · · · · · · · · · · · · · · · 1812 12.1.1 Raft protocol · · · deployment· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1813 12.2 Three Availability Zones in Two Regions Deployment · · · · · · · · · · · · · · · · · · · · · 1820 12.2.1 Overview · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1823 12.3 Two Availability Zones in One Region Deployment· · · · · · · · · · · · · · · · · · · · · · · · 1827 12.3.1 Introduction0 码力 | 6549 页 | 108.77 MB | 10 月前3
共 66 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













