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
Django 4.0.x DocumentationOverview | Internationalization | Localization | Localized web UI formatting and form input • Time zones 1.12 Performance and optimization There are a variety of techniques and tools that can help get system yet. >>> Question.objects.all()# Create a new Question. # Support for time zones is enabled in the default settings file, so # Django expects a datetime with tzinfo for pub_date. localization 533 Django Documentation, Release 4.0.11.dev20230214085346 3.15.3 Time zones Overview When support for time zones is enabled, Django stores datetime information in UTC in the database, uses time-zone- 0 码力 | 2248 页 | 7.90 MB | 1 年前3
Django 4.2.x DocumentationOverview | Internationalization | Localization | Localized web UI formatting and form input Time zones Performance and optimization There are a variety of techniques and tools that can help get your system yet. >>> Question.objects.all()# Create a new Question. # Support for time zones is enabled in the default settings file, so # Django expects a datetime with tzinfo for pub_date. Django has full support for translation of text, formatting of dates, times and numbers, and time zones. Essentially, Django does two things: It allows developers and template authors to specify which 0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 4.1.x DocumentationOverview | Internationalization | Localization | Localized web UI formatting and form input Time zones Performance and optimization There are a variety of techniques and tools that can help get your system yet. >>> Question.objects.all()# Create a new Question. # Support for time zones is enabled in the default settings file, so # Django expects a datetime with tzinfo for pub_date. Django has full support for translation of text, formatting of dates, times and numbers, and time zones. Essentially, Django does two things: It allows developers and template authors to specify which 0 码力 | 3240 页 | 3.13 MB | 1 年前3
Django 4.0.x DocumentationOverview | Internationalization | Localization | Localized web UI formatting and form input Time zones Performance and optimization There are a variety of techniques and tools that can help get your system yet. >>> Question.objects.all()# Create a new Question. # Support for time zones is enabled in the default settings file, so # Django expects a datetime with tzinfo for pub_date. Django has full support for translation of text, formatting of dates, times and numbers, and time zones. Essentially, Django does two things: It allows developers and template authors to specify which 0 码力 | 3184 页 | 3.14 MB | 1 年前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
共 210 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21













