c, current time in milliseconds
2022-11-05 00:09:52

#include <sys/time.h>

#include <iostream>

int main() {

   struct timeval cur_time;

   gettimeofday(&cur_time, NULL);

   std::cout << "Current time since January 1, 1970: "

             << cur_time.tv_sec * 1000 + cur_time.tv_usec

            << " ms" << std::endl;

   return 0;

}

▼ more
챙길 것
2022-09-02 17:47:04

블루투스 동글

컴퓨터 청소

차전자피

안약

▼ more
nbody on wsl2-5.10.102.1, Ubuntu18.04, rtx3090 asus rog strix
2022-04-26 22:21:35

./nbody -benchmark -numbodies=2560000 -device=0

> Windowed mode

> Simulation data stored in video memory

> Single precision floating point simulation

> 1 Devices used for simulation

gpuDeviceInit() CUDA Device [0]: "Ampere

> Compute 8.6 CUDA device: [NVIDIA GeForce RTX 3090]

number of bodies = 2560000

2560000 bodies, total time for 10 iterations: 65107.957 ms

= 1006.574 billion interactions per second

= 20131.487 single-precision GFLOP/s at 20 flops per interaction

on Ubuntu18.04, ventus

2560000 bodies, total time for 10 iterations: 69005.547 ms

= 949.721 billion interactions per second

= 18994.415 single-precision GFLOP/s at 20 flops per interaction

▼ more
Evangelion: 3.0+1.0 Thrice Upon a Time
2021-08-16 10:08:09

매우 좋았다.

▼ more