Skip to content

Commit

Permalink
Update version number and nuget release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsusie committed Nov 18, 2020
1 parent 93e1434 commit 4b63f3d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions High Precision Time Stamps.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Authors>Christopher P. Susie</Authors>
<Company>CJM Screws, LLC</Company>
<Version>0.0.3-beta</Version>
<Version>0.0.4-beta</Version>
<Description>This pre-release alpha package provides timestamps in a similar manner to DateTime.Now except it uses the hardware's high precision event timer, where available. Time stamps are more precise and, when retrieved on the same thread within a short time of each other, can be expected to be more accurate relative to each other than those retrieved by DateTime.Now. They may be less accurate in reference to offical UTC time or system time, but, under most circumstances, should remain approximately accurate.

The use-case for this project is when approximately accurate timestamps are needed for purposes of identifying when an event happened, but are also used to measure elapsed time between events that happen on a scale of milliseconds or microseconds.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReleaseNotes>Focus is now on the monotonic stamps.
<PackageReleaseNotes>Duration type is now backed by a 128 bit integer to facilitate entire range of DateTime struct where frequency of stopwatch is 1 tick / nanosecond.

Focus is now on the monotonic stamps.

Added a duration type analogous to TimeSpan but matching the frequency of stopwatch rather than timespan. This allows computations to be made without rounding errors. duration's backing field will probably be changed to a Int128 once I find one written in a relatively modernish style of C# that will not require massive importation of dependencies. The problem was detected when testing on a linux machine where the stopwatch frequency was 1,000,000,000 rather than 10,000,000 as in windows -- adding a timespan to produce new stamp and then subtracting same produced distinct values due to round-off.

Expand All @@ -26,8 +28,8 @@ TimeStampSource.UtcNow probably does not work and has not been tested.</PackageR
<RepositoryUrl>https://github.com/cpsusie/High-Precision-Time-Stamps</RepositoryUrl>
<RepositoryType>Github</RepositoryType>
<PackageTags>Timestamps</PackageTags>
<AssemblyVersion>0.0.3.0</AssemblyVersion>
<FileVersion>0.0.3.0</FileVersion>
<AssemblyVersion>0.0.4.0</AssemblyVersion>
<FileVersion>0.0.4.0</FileVersion>
<Copyright>Copyright (c) 2020 CJM Screws, LLC</Copyright>
</PropertyGroup>

Expand Down

0 comments on commit 4b63f3d

Please sign in to comment.