Jda Jda
Downloads Documentation News Community About Tools Forge

Getting Started

  • Installation
  • Hello World

Language

  • Syntax
  • Types
  • Functions
  • Structs & OOP
  • Concurrency
  • Error Handling

Standard Library

  • Overview
  • All Packages
Data Structures
  • vec
  • hashmap
  • set
  • queue
  • heap
  • ring
  • matrix
  • tuple
  • data
  • kvstore
Algorithms
  • sort
  • iter
  • comprehension
  • tsort
  • diff
  • statistics
  • copy
Strings & Encoding
  • string
  • fmt
  • conv
  • regex
  • base64
  • json
  • csv
  • uri
  • textwrap
  • fnmatch
  • toml
  • configparser
  • mimetypes
  • htmlparser
  • xml
  • email
  • marshal
  • pack
  • encoding
  • yaml
I/O & Filesystem
  • fs
  • file_io
  • find
  • tempfile
  • glob
  • mmap
  • gzip
  • tarfile
  • zipfile
  • zlib
  • compress
  • linecache
  • pathname
  • io
  • stringio
  • stringscanner
Networking
  • tcp
  • udp
  • http
  • dns
  • socketserver
  • httpserver
  • httpclient
  • smtp
  • ftp
  • netrc
  • tls
  • ws
  • ipaddr
Crypto & Security
  • crypto
  • digest
  • uuid
  • securerandom
System
  • os
  • signal
  • time
  • datetime
  • calendar
  • sched
  • platform
  • errno
  • getpass
  • args
  • process
  • math
  • fixedpoint
  • bignum
  • complex
  • rational
  • operator
  • enum
  • select
  • mutex
  • range
Testing & Debug
  • testing
  • benchmark
  • log
  • metrics
  • pp
  • context
  • timeout
AI / ML
  • tensor_ops
  • tensor_slice
  • autograd
  • nn
  • transformer
  • avx512_ops
  • ptx
  • rocm
  • plot
Design Patterns
  • decorator
  • dataclass
  • observer
  • weakref
  • prelude
Shell & Tools
  • shell
  • open3
  • optparse
  • fileutils
  • erb

Tools

  • Compiler
  • Toolchain
  • Package Manager

time

Clocks & Sleep

Structs

Timespec

struct Timespec {
    tv_sec: i64
    tv_nsec: i64
}

Functions

FunctionDescription
time_now_ns
time_now_us
time_now_ms
time_sleep_ns
time_sleep_ms
time_elapsed_ns
time_unix_secs

Details

time_now_ns

fn time_now_ns() -> i64

time_now_us

fn time_now_us() -> i64

time_now_ms

fn time_now_ms() -> i64

time_sleep_ns

fn time_sleep_ns(ns: i64)

time_sleep_ms

fn time_sleep_ms(ms: i64)

time_elapsed_ns

fn time_elapsed_ns(start_ns: i64) -> i64

time_unix_secs

fn time_unix_secs() -> i64
← timeout
textwrap →

Jda Language

  • Downloads
  • Getting Started
  • Documentation
  • Benchmarks
  • News

Community

  • GitHub
  • Bug Tracker
  • Discussions
  • Contributing
  • Community

Resources

  • Syntax Reference
  • Standard Library
  • Structs & OOP
  • Toolchain
  • Compiler Architecture

About

  • About Jda
  • License (MIT)
  • Code of Conduct
  • Contact Us

Jda is free and open source software, released under the MIT License.