aboutsummaryrefslogtreecommitdiff
path: root/core/time
Commit message (Collapse)AuthorAgeFilesLines
* push orca target and old bindingsskytrias2024-03-181-0/+26
|
* Merge branch 'odin-lang:master' into haikuavanspector2024-03-011-0/+8
|\
| * Fix leap year buggingerBill2024-02-291-0/+8
| |
* | fix core and libcavanspector2024-02-251-1/+1
|/
* Remove `core:os` dependency for `base:runtime`gingerBill2024-01-281-1/+1
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-282-3/+3
|
* Implement new sys/unix packageflysand72023-10-271-16/+14
|
* Fix calling time.now() in wasm js runtimeDamian Tarnawski2023-10-191-2/+2
|
* Clean up usage of `using` throughout core and vendorgingerBill2023-07-311-17/+19
|
* Merge pull request #2520 from matias-eduardo/masterJeroen van Rijn2023-05-091-2/+2
|\ | | | | Allow for custom sleep duration in tsc frequency fallback
| * Allow custom sleep on tsc fallback.Matias Fernandez2023-05-091-2/+2
| | | | | | | | | | | | This gives the user more control over the spectrum of precision vs. load time on Windows. Spall's output with much lower sleep times is still useful in my experience. NOTE: A better API might be to allow the user to pass the freq as a param to "create_context" in case they already paid for it beforehand, but this seems fine for now.
* | fix spacingLaytan Laats2023-05-061-2/+2
| |
* | add time.weekday procLaytan Laats2023-05-051-0/+6
|/
* add null-impl for tsc_frequency for alt-platformsColin Davidson2023-03-043-14/+6
|
* shuffle tsc around a littleColin Davidson2023-02-221-15/+13
|
* add sleep-fallback and invariant checkColin Davidson2023-02-214-20/+60
|
* more function name changesColin Davidson2023-02-214-53/+47
|
* block all x86 tsc functions in when blockColin Davidson2023-02-213-44/+50
|
* adjust func namesColin Davidson2023-02-212-2/+2
|
* use the libc call on darwin so sysctlbyname worksColin Davidson2023-02-214-37/+21
|
* sort out units to make things happierColin Davidson2023-02-191-1/+1
|
* more typo. yay.Colin Davidson2023-02-191-1/+1
|
* intrinsics typoColin Davidson2023-02-191-1/+1
|
* derp. raw-syscallsColin Davidson2023-02-191-1/+1
|
* oops, add intrinsics importColin Davidson2023-02-191-0/+1
|
* add a tsc frequency get for windowsColin Davidson2023-02-191-0/+28
|
* add osx supportColin Davidson2023-02-191-0/+23
|
* begin adding tsc frequency gettersColin Davidson2023-02-192-1/+65
|
* create _yeild stub for wasi_wasm32 target to avoid compile errorJopStro2022-10-311-0/+2
|
* Heavily improve time handling on Windows for `time.now()` and `os.File_Info`gingerBill2022-10-262-35/+44
|
* Remove `strings` dependency from `core:sys/windows`gingerBill2022-06-021-4/+4
|
* Update `time` procedures for js targetsgingerBill2022-05-211-8/+17
|
* Clean up `core:time` to be consistent across all platformsgingerBill2022-05-127-133/+70
|
* Add mock for `_yield`gingerBill2022-05-061-0/+2
|
* Update time.odinJeroen van Rijn2022-04-161-1/+6
| | | | Add caveats.
* time: remove unnecessary yieldhikari2022-04-161-5/+1
|
* time: fix unix buildhikari2022-04-161-3/+11
|
* time: yield accurate_sleep instead of relaxing the cpuhikari2022-04-163-2/+18
|
* time: add accurate sleep procedurehikari2022-04-161-0/+31
|
* initial OpenBSD supportSébastien Marie2022-02-251-11/+23
|
* Convert `ODIN_OS` and `ODIN_ARCH` to use enums rather than use stringsgingerBill2022-01-201-1/+1
|
* Begin work in semi-standardized `js_wasm32` targetgingerBill2021-11-073-0/+60
|
* better naming conventions for stopwatch procedures + fieldsPhil H2021-10-281-10/+10
|
* Add clock overloads for Duration and StopwatchPhil2021-10-281-4/+19
|
* Add a stopwatch to time.odinPhil2021-10-281-1/+30
|
* Make many `package time` procedures use `"contextless"` calling conventiongingerBill2021-10-114-15/+15
|
* Make `QPC` thread local again.Jeroen van Rijn2021-09-091-2/+1
|
* Add xxhash tests to CI.Jeroen van Rijn2021-09-091-1/+2
|
* Add xxhash benchmark.Jeroen van Rijn2021-09-092-1/+59
|
* Strip semicolons in core which were missinggingerBill2021-09-081-42/+42
|