aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/timeval.h
blob: a350a09b0094e8feff833ba7d04c067454802137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef NET_GRPC_NODE_TIMEVAL_H_
#define NET_GRPC_NODE_TIMEVAL_H_

#include "grpc/support/time.h"

namespace grpc {
namespace node {

double TimespecToMilliseconds(gpr_timespec time);
gpr_timespec MillisecondsToTimespec(double millis);

}  // namespace node
}  // namespace grpc

#endif  // NET_GRPC_NODE_TIMEVAL_H_