Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 백준
- 코로나19
- 더현대서울 맛집
- SW Expert Academy
- 프로그래머스 파이썬
- 자연어처리
- PYTHON
- leetcode
- 맥북
- 금융문자분석경진대회
- AI 경진대회
- github
- 우분투
- ubuntu
- dacon
- hackerrank
- ChatGPT
- Real or Not? NLP with Disaster Tweets
- 편스토랑 우승상품
- 프로그래머스
- 데이콘
- gs25
- 편스토랑
- 파이썬
- Baekjoon
- Docker
- programmers
- Kaggle
- Git
- 캐치카페
Archives
- Today
- Total
목록
반응형
struct timeval (1)
반응형
솜씨좋은장씨
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/c74QjT/btr1USGLCAR/SkKDd9eqBkZZ7GedLSft31/img.png)
🧑🏻💻 timeval 구조체 strcut timeval { __time_t tv_sec; // Second - 초 __suseconds_t tv_usec; // Microseconds - 마이크로초 } timeval 구조체는 tv_sec 과 tv_usec 로 구성되어있는데 tv_sec 는 1초 2초 3초 할때 그 초 (Seconds) 정보를 tv_usec 는 1 / 1,000,000 초인 마이크로초 (Microseconds) 정보를 저장합니다. timeval 구조체를 사용하기 위해서는 sys/time.h 헤더파일을 include 하면 됩니다. 🧑🏻💻 gettimeofday #include int gettimeofday(struct timeval *tv, struct timezone *tz); 1970..
Programming/C | C++
2023. 3. 5. 08:39
반응형