---
name: "__round_jiffies_up"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/__round_jiffies_up"
---

# \_\_round\_jiffies\_up(9)

function to round jiffies up to a full second

## NAME

\_\_round\_jiffies\_up - function to round jiffies up to a full second

## SYNOPSIS

**unsigned long \_\_round\_jiffies\_up(unsigned long** *j***, int** *cpu***);**

## ARGUMENTS

*j*

the time in (absolute) jiffies that should be rounded

*cpu*

the processor number on which the timeout will happen

## DESCRIPTION

This is the same as **\_\_round\_jiffies** except that it will never round down. This is useful for timeouts for which the exact time of firing does not matter too much, as long as they don't fire too early.

## COPYRIGHT
