1266992Smarkj/*
2266992Smarkj * This file and its contents are supplied under the terms of the
3266992Smarkj * Common Development and Distribution License ("CDDL"), version 1.0.
4266992Smarkj * You may only use this file in accordance with the terms of version
5266992Smarkj * 1.0 of the CDDL.
6266992Smarkj *
7266992Smarkj * A full copy of the text of the CDDL should have accompanied this
8266992Smarkj * source.  A copy of the CDDL is also available via the Internet at
9266992Smarkj * http://www.illumos.org/license/CDDL.
10266992Smarkj */
11266992Smarkj
12266992Smarkj/*
13266992Smarkj * Copyright (c) 2013 Joyent, Inc.  All rights reserved.
14266992Smarkj */
15266992Smarkj
16266992Smarkj#pragma D option encoding=ascii
17266992Smarkj#pragma D option quiet
18266992Smarkj
19266992Smarkjtick-1ms
20266992Smarkj/i++ < 90/
21266992Smarkj{
22266992Smarkj	@ = lquantize(i, 0, 100, 1, 1000);
23266992Smarkj}
24266992Smarkj
25266992Smarkjtick-1ms
26266992Smarkj/i == 100/
27266992Smarkj{
28266992Smarkj	@ = lquantize(i++, 0, 100, 1, 2000);
29266992Smarkj	@ = lquantize(i++, 0, 100, 1, 3000);
30266992Smarkj
31266992Smarkj	printa(@);
32266992Smarkj	setopt("aggzoom");
33266992Smarkj	printa(@);
34266992Smarkj	exit(0);
35266992Smarkj}
36